Skip to content

Commit

Permalink
Update the dependencies of workflows
Browse files Browse the repository at this point in the history
Update actions/upload-artifact action to v3.1.3

Update step-security/harden-runner action to v2.7.0

Update actions/setup-go action to v4.1.0

Update actions/checkout action to v3.6.0

Update actions/cache action to v4

Update actions/setup-go action to v5

Update actions/checkout action to v4

Update actions/upload-artifact action to v4

ci: upload coverage with a unique name

ci: use runner.os instead of matrix.os
  • Loading branch information
renovate[bot] authored and waybackarchiver committed Feb 27, 2024
1 parent ecaba89 commit ea86ac4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,24 @@ jobs:
go: ["1.18", "1.19", "1.20", "1.21", "1.22" ]
steps:
- name: Harden Runner
uses: step-security/harden-runner@1f99358870fe1c846a3ccba386cc2b2246836776 # v2.2.1
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
disable-telemetry: true

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: ${{ matrix.go }}

- name: Check out code into the Go module directory
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
persist-credentials: false
fetch-depth: 0

- name: Cache go module
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
path: |
~/.cache/go-build
Expand All @@ -71,9 +71,9 @@ jobs:
make test-cover
- name: Upload coverage
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: coverage
name: coverage-${{ runner.os }}-go-${{ matrix.go }}
path: coverage.*

- name: Run integration test
Expand Down

0 comments on commit ea86ac4

Please sign in to comment.