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