From cd1f3fe1553e2484e117adfdb4bb282bb6d74015 Mon Sep 17 00:00:00 2001 From: Richard Weston <22933083+riweston@users.noreply.github.com> Date: Wed, 20 Mar 2024 17:33:08 +0000 Subject: [PATCH] =?UTF-8?q?ci(#patch):=20Updated=20the=20secrets=20and=20a?= =?UTF-8?q?ctions=20to=20follow=20current=20best=20pr=E2=80=A6=20(#25)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ci(#patch): Updated the secrets and actions to follow current best practice for releases --- .github/workflows/cd.release.yml | 14 ++++++-------- .github/workflows/cd.tag.yml | 6 ++++-- README.md | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cd.release.yml b/.github/workflows/cd.release.yml index 99ee156..fc2a295 100644 --- a/.github/workflows/cd.release.yml +++ b/.github/workflows/cd.release.yml @@ -10,19 +10,17 @@ jobs: goreleaser: name: "CD: Release" runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - ssh-key: "${{ secrets.DEPLOY_KEY }}" - - uses: arnested/go-version-action@v1 - id: go-version - - name: Set up Go - uses: actions/setup-go@v3 + - name: Install Go + uses: actions/setup-go@v5 with: - go-version: ${{ steps.go-version.outputs.latest }} - check-latest: true + go-version: stable - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/.github/workflows/cd.tag.yml b/.github/workflows/cd.tag.yml index 6f467fb..7aff313 100644 --- a/.github/workflows/cd.tag.yml +++ b/.github/workflows/cd.tag.yml @@ -10,13 +10,15 @@ jobs: versionbumper: name: "CD: Tagging" runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Bump version and push tag uses: anothrNick/github-tag-action@1.35.0 env: - GITHUB_TOKEN: ${{ secrets.HOMEBREW }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: false diff --git a/README.md b/README.md index 65c2472..7e1f24a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

aztx

- Version + Version Documentation