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:
parent
ab46fede58
commit
c760e1f326
2 changed files with 58 additions and 1 deletions
27
.github/workflows/test.yml
vendored
27
.github/workflows/test.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue