Skip to content

fix(deps): update module golang.org/x/term to v0.26.0 (#346) #190

fix(deps): update module golang.org/x/term to v0.26.0 (#346)

fix(deps): update module golang.org/x/term to v0.26.0 (#346) #190

Workflow file for this run

---
name: Release Please and GoReleaser
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Release Please
uses: googleapis/release-please-action@v4
id: release
with:
release-type: go
# The PAT is needed to run required checks on the release PR.
# If a PR is created with the GITHUB_TOKEN, it will not trigger workflows.
token: ${{ secrets.MYKSO_BOT_GITHUB_TOKEN }}
outputs:
release_created: ${{ steps.release.outputs.release_created }}
release:
runs-on: ubuntu-latest
needs: release-please
if: needs.release-please.outputs.release_created == 'true'
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.MYKSO_BOT_GPG_PRIVATE_KEY }}
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: GoReleaser
uses: goreleaser/goreleaser-action@v6
env:
AUR_SSH_KEY: ${{ secrets.AUR_SSH_KEY }}
GITHUB_TOKEN: ${{ github.token }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
HOMEBREW_TAP_REPO_TOKEN: ${{ secrets.MYKSO_BOT_GITHUB_TOKEN }}
with:
args: release --clean