Skip to content

fix(deps): bump supported Go versions to 1.23.0 and 1.22.6 (#431) #107

fix(deps): bump supported Go versions to 1.23.0 and 1.22.6 (#431)

fix(deps): bump supported Go versions to 1.23.0 and 1.22.6 (#431) #107

name: Run Release Please
on:
push:
branches:
- v7
jobs:
go-versions:
uses: ./.github/workflows/go-versions.yml
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{secrets.GITHUB_TOKEN}}
target-branch: v7
release-relay:
permissions:
id-token: write # Needed to obtain Docker tokens
contents: write # Needed to upload release artifacts
needs: [ release-please, go-versions ]
if: ${{ needs.release-please.outputs.release_created == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: launchdarkly/gh-actions/actions/[email protected]
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
with:
go-version: ${{ needs.go-versions.outputs.latest }}
- uses: ./.github/actions/unit-tests
- uses: ./.github/actions/publish
with:
dry-run: 'false'
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ needs.release-please.outputs.tag_name }}