Skip to content

Commit

Permalink
update gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu committed Oct 8, 2024
1 parent ffd1327 commit 51459a1
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
languages: ${{ matrix.language }}

- name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version-file: 'go.mod'

- name: Build
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/depscheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version-file: 'go.mod'
- run: chmod -R +x ./scripts
- run: bash scripts/gogetcookie.sh
- run: make depscheck
10 changes: 5 additions & 5 deletions .github/workflows/golint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.20'
- uses: golangci/golangci-lint-action@v4
go-version-file: 'go.mod'
- uses: golangci/golangci-lint-action@v6
with:
version: 'v1.54'
args: -v --timeout=10m
args: -v
6 changes: 3 additions & 3 deletions .github/workflows/thirty-two-bit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version-file: 'go.mod'
- run: bash scripts/gogetcookie.sh
- run: GOARCH=386 GOOS=linux go build -o 32bitbuild .
4 changes: 2 additions & 2 deletions .github/workflows/unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version-file: 'go.mod'
- run: chmod -R +x ./scripts
- run: bash scripts/gogetcookie.sh
- run: make test
Expand Down

0 comments on commit 51459a1

Please sign in to comment.