Skip to content

netscape-go: update CI workflow, run lint in a dedicated job #1

netscape-go: update CI workflow, run lint in a dedicated job

netscape-go: update CI workflow, run lint in a dedicated job #1

Workflow file for this run

---
name: build-and-test
on:
push:
branches:
- main
tags:
- v*
pull_request: {}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: false
- name: Checkout
uses: actions/checkout@v4
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: "v1.54"
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: make build
- name: Test
run: make test