Skip to content

Commit

Permalink
bump action versions and remove explicit caching
Browse files Browse the repository at this point in the history
Signed-off-by: mikeee <[email protected]>
  • Loading branch information
mikeee committed Feb 7, 2024
1 parent eb143f2 commit a59b380
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
FOSSA_API_KEY: b88e1f4287c3108c8751bf106fb46db6 # This is a push-only token that is safe to be exposed.
steps:
- name: "Checkout code"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Run FOSSA Scan"
uses: fossas/[email protected] # Use a specific version if locking is preferred
Expand Down
16 changes: 4 additions & 12 deletions .github/workflows/test-on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,13 @@ jobs:
GOLANGCILINT_VER: v1.55.2

steps:
- name: Setup
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVER }}

- name: Checkout
uses: actions/checkout@v4

- name: Cache
uses: actions/cache@v3
- name: Setup
uses: actions/setup-go@v5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
go-version: ${{ env.GOVER }}

- name: Tidy
run: make tidy
Expand All @@ -44,7 +36,7 @@ jobs:
run: make test

- name: Cover
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

- name: Lint
uses: golangci/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-tooling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
GOLANGCILINT_VER: v1.55.2 # Make sure to bump /tools/check-lint-version/main_test.go

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVER }}

- name: Checkout
uses: actions/checkout@v4

- name: Tidy
working-directory: ./tools/check-lint-version
run: make tidy
Expand Down

0 comments on commit a59b380

Please sign in to comment.