Add new plugins for working directory by key and TOTP authentication (#348)

* Add new plugins for working directory by key and TOTP authentication

* Add GoReleaser workflow to test.yml
This commit is contained in:
Boshi Lian 2024-03-24 02:40:46 -07:00 committed by GitHub
parent ab46fede58
commit c760e1f326
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 58 additions and 1 deletions

View file

@ -37,4 +37,29 @@ jobs:
with:
args: --timeout=60m -E gofmt --verbose --print-resources-usage --build-tags full
env:
GOGC: "10"
GOGC: "10"
# test go releaser
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Setup Snap
run: |
set -e
sudo snap install snapcraft --classic
# https://github.com/goreleaser/goreleaser/pull/2117
mkdir -p $HOME/.cache/snapcraft/download
mkdir -p $HOME/.cache/snapcraft/stage-packages
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --snapshot --clean
env:
SKIP_PUSH: "true"