mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-31 02:28:09 +00:00
VAULT-23732 Update github actions to non-deprecated versions (#25203)
This commit is contained in:
4
.github/actions/set-up-go/action.yml
vendored
4
.github/actions/set-up-go/action.yml
vendored
@@ -40,7 +40,7 @@ runs:
|
|||||||
else
|
else
|
||||||
echo "go-version=${{ inputs.go-version }}" >> "$GITHUB_OUTPUT"
|
echo "go-version=${{ inputs.go-version }}" >> "$GITHUB_OUTPUT"
|
||||||
fi
|
fi
|
||||||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
|
||||||
with:
|
with:
|
||||||
go-version: ${{ steps.go-version.outputs.go-version }}
|
go-version: ${{ steps.go-version.outputs.go-version }}
|
||||||
cache: false # We use our own caching strategy
|
cache: false # We use our own caching strategy
|
||||||
@@ -50,7 +50,7 @@ runs:
|
|||||||
echo "cache-path=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
echo "cache-path=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
echo "cache-key=go-modules-${{ hashFiles('**/go.sum') }}" >> "$GITHUB_OUTPUT"
|
echo "cache-key=go-modules-${{ hashFiles('**/go.sum') }}" >> "$GITHUB_OUTPUT"
|
||||||
- id: cache-modules
|
- id: cache-modules
|
||||||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
|
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
|
||||||
with:
|
with:
|
||||||
enableCrossOsArchive: true
|
enableCrossOsArchive: true
|
||||||
lookup-only: ${{ inputs.no-restore }}
|
lookup-only: ${{ inputs.no-restore }}
|
||||||
|
|||||||
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -412,7 +412,7 @@ jobs:
|
|||||||
run: vault-auth
|
run: vault-auth
|
||||||
- id: secrets
|
- id: secrets
|
||||||
name: Fetch Vault Secrets
|
name: Fetch Vault Secrets
|
||||||
uses: hashicorp/vault-action@affa6f04da5c2d55e6e115b7d1b044a6b1af8c74
|
uses: hashicorp/vault-action@9f522b85981b491eab9a52c144d15aedbd0bf371 # v2.8.0
|
||||||
with:
|
with:
|
||||||
url: ${{ steps.vault-auth.outputs.addr }}
|
url: ${{ steps.vault-auth.outputs.addr }}
|
||||||
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
|
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
|
||||||
|
|||||||
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -225,7 +225,7 @@ jobs:
|
|||||||
- id: secrets
|
- id: secrets
|
||||||
name: Fetch secrets
|
name: Fetch secrets
|
||||||
if: github.repository == 'hashicorp/vault-enterprise'
|
if: github.repository == 'hashicorp/vault-enterprise'
|
||||||
uses: hashicorp/vault-action@affa6f04da5c2d55e6e115b7d1b044a6b1af8c74
|
uses: hashicorp/vault-action@9f522b85981b491eab9a52c144d15aedbd0bf371 # v2.8.0
|
||||||
with:
|
with:
|
||||||
url: ${{ steps.vault-auth.outputs.addr }}
|
url: ${{ steps.vault-auth.outputs.addr }}
|
||||||
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
|
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
|
||||||
@@ -378,7 +378,7 @@ jobs:
|
|||||||
run: vault-auth
|
run: vault-auth
|
||||||
- id: secrets
|
- id: secrets
|
||||||
name: Fetch Vault Secrets
|
name: Fetch Vault Secrets
|
||||||
uses: hashicorp/vault-action@affa6f04da5c2d55e6e115b7d1b044a6b1af8c74
|
uses: hashicorp/vault-action@9f522b85981b491eab9a52c144d15aedbd0bf371 # v2.8.0
|
||||||
with:
|
with:
|
||||||
url: ${{ steps.vault-auth.outputs.addr }}
|
url: ${{ steps.vault-auth.outputs.addr }}
|
||||||
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
|
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
|
||||||
|
|||||||
4
.github/workflows/test-go.yml
vendored
4
.github/workflows/test-go.yml
vendored
@@ -99,7 +99,7 @@ jobs:
|
|||||||
- name: Fetch Secrets
|
- name: Fetch Secrets
|
||||||
id: secrets
|
id: secrets
|
||||||
if: github.repository == 'hashicorp/vault-enterprise'
|
if: github.repository == 'hashicorp/vault-enterprise'
|
||||||
uses: hashicorp/vault-action@affa6f04da5c2d55e6e115b7d1b044a6b1af8c74
|
uses: hashicorp/vault-action@9f522b85981b491eab9a52c144d15aedbd0bf371 # v2.8.0
|
||||||
with:
|
with:
|
||||||
url: ${{ steps.vault-auth.outputs.addr }}
|
url: ${{ steps.vault-auth.outputs.addr }}
|
||||||
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
|
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
|
||||||
@@ -232,7 +232,7 @@ jobs:
|
|||||||
- name: Fetch Secrets
|
- name: Fetch Secrets
|
||||||
id: secrets
|
id: secrets
|
||||||
if: github.repository == 'hashicorp/vault-enterprise'
|
if: github.repository == 'hashicorp/vault-enterprise'
|
||||||
uses: hashicorp/vault-action@affa6f04da5c2d55e6e115b7d1b044a6b1af8c74
|
uses: hashicorp/vault-action@9f522b85981b491eab9a52c144d15aedbd0bf371 # v2.8.0
|
||||||
with:
|
with:
|
||||||
url: ${{ steps.vault-auth.outputs.addr }}
|
url: ${{ steps.vault-auth.outputs.addr }}
|
||||||
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
|
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
|
||||||
|
|||||||
Reference in New Issue
Block a user