mirror of
https://github.com/kopia/kopia.git
synced 2026-05-11 08:16:12 -04:00
chore(deps): use commit id for GH action versions (#3298)
* deps(gha): use commit id for actions/setup-go version 4.1.0 * deps(gha): add comment with semver for golang/govulncheck-action * deps(gha): upgrade actions/upload-artifact to v3.1.3 Release notes: https://github.com/actions/upload-artifact/releases * deps(gha): upgrade codecov-action to 3.1.4 Release notes: https://github.com/codecov/codecov-action/releases/tag/v3.1.4
This commit is contained in:
6
.github/workflows/code-coverage.yml
vendored
6
.github/workflows/code-coverage.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
@@ -24,11 +24,11 @@ jobs:
|
||||
- name: Run Tests
|
||||
run: make test-with-coverage
|
||||
- name: Upload Coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
|
||||
with:
|
||||
files: coverage.txt
|
||||
- name: Upload Logs
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
with:
|
||||
name: logs
|
||||
path: .logs/**/*.log
|
||||
|
||||
6
.github/workflows/compat-test.yml
vendored
6
.github/workflows/compat-test.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
@@ -26,9 +26,9 @@ jobs:
|
||||
- name: Compat Test
|
||||
run: make compat-tests
|
||||
- name: Upload Logs
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
with:
|
||||
name: logs
|
||||
path: .logs/**/*.log
|
||||
if-no-files-found: ignore
|
||||
if: ${{ always() }}
|
||||
if: ${{ always() }}
|
||||
|
||||
4
.github/workflows/endurance-test.yml
vendored
4
.github/workflows/endurance-test.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
- name: Endurance Tests
|
||||
run: make endurance-tests
|
||||
- name: Upload Logs
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
with:
|
||||
name: logs
|
||||
path: .logs/**/*.log
|
||||
|
||||
6
.github/workflows/htmlui-tests.yml
vendored
6
.github/workflows/htmlui-tests.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
@@ -39,8 +39,8 @@ jobs:
|
||||
- name: Run Tests
|
||||
run: make htmlui-e2e-test
|
||||
- name: Upload Screenshots
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
with:
|
||||
path: .screenshots/**/*.png
|
||||
if-no-files-found: ignore
|
||||
if: ${{ always() }}
|
||||
if: ${{ always() }}
|
||||
|
||||
2
.github/workflows/license-check.yml
vendored
2
.github/workflows/license-check.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
|
||||
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@@ -30,14 +30,14 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
id: go
|
||||
if: ${{ !contains(matrix.os, 'ARMHF') }}
|
||||
- id: govulncheck
|
||||
uses: golang/govulncheck-action@7da72f730e37eeaad891fcff0a532d27ed737cd4
|
||||
uses: golang/govulncheck-action@7da72f730e37eeaad891fcff0a532d27ed737cd4 # v1.0.1
|
||||
with:
|
||||
repo-checkout: false
|
||||
cache: false
|
||||
|
||||
6
.github/workflows/make.yml
vendored
6
.github/workflows/make.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
@@ -100,7 +100,7 @@ jobs:
|
||||
# macOS signing certificate (base64-encoded), used by Electron Builder
|
||||
MACOS_SIGNING_IDENTITY: ${{ secrets.MACOS_SIGNING_IDENTITY }}
|
||||
- name: Upload Kopia Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
with:
|
||||
name: kopia
|
||||
path: |
|
||||
@@ -122,7 +122,7 @@ jobs:
|
||||
if-no-files-found: ignore
|
||||
if: ${{ !contains(matrix.os, 'self-hosted') }}
|
||||
- name: Upload Kopia Binary
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
with:
|
||||
name: kopia_binaries
|
||||
path: |
|
||||
|
||||
2
.github/workflows/ossf-scorecard.yml
vendored
2
.github/workflows/ossf-scorecard.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
sarif_file: results.sarif
|
||||
-
|
||||
name: "Upload analysis results as 'Job Artifact'"
|
||||
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
with:
|
||||
name: SARIF file
|
||||
path: results.sarif
|
||||
|
||||
2
.github/workflows/providers-core.yml
vendored
2
.github/workflows/providers-core.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.event.inputs.ref_name || github.ref }}
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
|
||||
2
.github/workflows/providers-extra.yml
vendored
2
.github/workflows/providers-extra.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.event.inputs.ref_name || github.ref }}
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
|
||||
2
.github/workflows/race-detector.yml
vendored
2
.github/workflows/race-detector.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
|
||||
4
.github/workflows/stress-test.yml
vendored
4
.github/workflows/stress-test.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
- name: Stress Test
|
||||
run: make stress-test
|
||||
- name: Upload Logs
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
with:
|
||||
name: logs
|
||||
path: .logs/**/*.log
|
||||
|
||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -42,7 +42,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: true
|
||||
@@ -64,7 +64,7 @@ jobs:
|
||||
- name: Integration Tests
|
||||
run: make -j2 ci-integration-tests
|
||||
- name: Upload Logs
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
with:
|
||||
name: logs
|
||||
path: .logs/**/*.log
|
||||
|
||||
Reference in New Issue
Block a user