Merge pull request #14 from pjebs/master

- update github actions
This commit is contained in:
pj 2022-05-24 12:11:33 +10:00 committed by GitHub
commit 88e1fd2a47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
.github/audit.yml vendored
View File

@ -8,23 +8,21 @@ on:
schedule: schedule:
- cron: '55 * * * *' - cron: '55 * * * *'
jobs: jobs:
audit: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v3
with: with:
go-version: 1.12 go-version: 1.18
- name: Verify dependencies
run: go mod verify
- name: Build - name: Build
run: go build -v ./... run: go build -v ./...
- name: Run tests - name: Test
run: go test -race -vet=off ./... run: go test -v ./...