Skip to content

Commit

Permalink
ci: upgrade various github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Aug 19, 2024
1 parent 922b52c commit 9b72f07
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/actions/benchmarks/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
using: composite
steps:
- name: Setup Go ${{ inputs.go-version }}
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/install-relay/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
using: composite
steps:
- name: Setup Go ${{ inputs.go-version }}
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
fetch-depth: 0
fetch-tags: 'true'
- name: Setup Go ${{ inputs.go-version }}
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ needs.go-versions.outputs.latest }}
- name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/common_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ inputs.go-version }}
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
- uses: ./.github/actions/unit-tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
echo "clientsdk=https://clientsdk.launchdarkly.com" >> $GITHUB_OUTPUT
fi
- name: Setup Go ${{ inputs.go-version }}
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}

Expand All @@ -63,7 +63,7 @@ jobs:
run: go install github.com/jstemmer/[email protected]

- name: Fetch REST token
uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.0.0
uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: ${{ format('/development/relay-proxy/launchdarkly-rest-api/{0}_token = LD_API_TOKEN', inputs.environment) }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
with:
fetch-depth: 0
- name: Setup Go ${{ needs.go-versions.outputs.latest }}
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ needs.go-versions.outputs.latest }}
- name: Build and Test
uses: ./.github/actions/unit-tests
- name: 'Get Docker token'
uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.0.1
uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: '/global/services/docker/public/username = DOCKER_USERNAME, /global/services/docker/public/token = DOCKER_TOKEN'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:
with:
fetch-depth: 0

- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.0.1
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
name: 'Get Docker token'
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: '/global/services/docker/public/username = DOCKER_USERNAME, /global/services/docker/public/token = DOCKER_TOKEN'

- name: Setup Go ${{ needs.go-versions.outputs.latest }}
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ needs.go-versions.outputs.latest }}

Expand Down

0 comments on commit 9b72f07

Please sign in to comment.