Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update CI GitHub actions. #420

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected]
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
Loading