Skip to content

Commit

Permalink
Update PR action.
Browse files Browse the repository at this point in the history
  • Loading branch information
awalsh128 committed Nov 27, 2023
1 parent e0a235e commit 1d63750
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:
contents: read

jobs:
build_test:
lint_build_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -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 ./...
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module awalsh128.com/cache-apt-pkgs-action

go 1.18
go 1.20

0 comments on commit 1d63750

Please sign in to comment.