Skip to content

Commit

Permalink
ci: always use the latest version of github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pilinux committed Apr 11, 2024
1 parent 4408194 commit 1843c76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v4

- name: Cache
uses: actions/cache@v4.0.2
uses: actions/cache@v4
with:
path: |
**/go.sum
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: golangci-lint
on:
push:
tags:
- v*
branches:
- main
pull_request:
Expand All @@ -23,7 +21,7 @@ jobs:
uses: actions/checkout@v4

- name: Cache
uses: actions/cache@v4.0.2
uses: actions/cache@v4
with:
path: |
**/go.sum
Expand All @@ -42,13 +40,13 @@ jobs:
uses: golangci/golangci-lint-action@v4
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.56.2
version: v1.57.2

# Optional: working directory, useful for monorepos
# working-directory: somedir

# Optional: golangci-lint command line arguments.
args: --timeout 3m --verbose
args: --timeout 5m --verbose

# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true
Expand Down

0 comments on commit 1843c76

Please sign in to comment.