Update PR action.

This commit is contained in:
Andrew Walsh 2023-11-26 23:08:49 -08:00
parent e0a235eca5
commit 1d63750e87
2 changed files with 6 additions and 4 deletions

View file

@ -7,7 +7,7 @@ permissions:
contents: read
jobs:
build_test:
lint_build_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
@ -16,11 +16,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.20
go-version-file: "go.mod"
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
version: v1.52.2
- name: Build and test
run: |
go build -v ./...

2
go.mod
View file

@ -1,3 +1,3 @@
module awalsh128.com/cache-apt-pkgs-action
go 1.18
go 1.20