Skip to content

Commit 1843c76

Browse files
committed
ci: always use the latest version of github actions
1 parent 4408194 commit 1843c76

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@v4
2424

2525
- name: Cache
26-
uses: actions/cache@v4.0.2
26+
uses: actions/cache@v4
2727
with:
2828
path: |
2929
**/go.sum

.github/workflows/golangci-lint.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: golangci-lint
22
on:
33
push:
4-
tags:
5-
- v*
64
branches:
75
- main
86
pull_request:
@@ -23,7 +21,7 @@ jobs:
2321
uses: actions/checkout@v4
2422

2523
- name: Cache
26-
uses: actions/cache@v4.0.2
24+
uses: actions/cache@v4
2725
with:
2826
path: |
2927
**/go.sum
@@ -42,13 +40,13 @@ jobs:
4240
uses: golangci/golangci-lint-action@v4
4341
with:
4442
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
45-
version: v1.56.2
43+
version: v1.57.2
4644

4745
# Optional: working directory, useful for monorepos
4846
# working-directory: somedir
4947

5048
# Optional: golangci-lint command line arguments.
51-
args: --timeout 3m --verbose
49+
args: --timeout 5m --verbose
5250

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

0 commit comments

Comments
 (0)