Skip to content

ci: integrate with golangci-lint (#13) #4

ci: integrate with golangci-lint (#13)

ci: integrate with golangci-lint (#13) #4

Workflow file for this run

name: quality
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21
cache: true
- uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21
cache: false
- run: make build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21
cache: false
- run: make test