Skip to content

Issue #409 - WIP

Issue #409 - WIP #1324

Workflow file for this run

name: Go
concurrency:
group: "${{ github.workflow }}-${{ github.ref_name }}"
cancel-in-progress: true
on:
push:
branches: [master]
pull_request:
branches: ["**"]
jobs:
go-unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Build
run: go build -v ./...
- name: Test
run: go test -v --vet=all ./...
- name: CLI smoke test
run: go run ./cmd/av --help
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest