Skip to content

Commit

Permalink
chore: update CI GitHub actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
xmichelo committed Dec 4, 2024
1 parent aa1cfd1 commit e1ad6b5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,26 @@ jobs:
test:
strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-latest]
os: [ubuntu-20.04, macos-15, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Get sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go 1.23.3
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.23.3'

- name: Run go mod tidy
run: go mod tidy

- name: Run golangci-lint
run: |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.0
golangci-lint run --timeout=500s
uses: golangci/golangci-lint-action@v6
with:
version: v1.62.0
args: --timeout=500s
skip-cache: true

- name: Run govulncheck
uses: golang/govulncheck-action@v1
Expand Down

0 comments on commit e1ad6b5

Please sign in to comment.