forked from dapr/go-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump action versions and remove explicit caching
Signed-off-by: mikeee <[email protected]>
- Loading branch information
Showing
3 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters