Skip to content

Bump github.com/tailscale/tailscale-client-go from 1.11.0 to 1.12.0 (… #41

Bump github.com/tailscale/tailscale-client-go from 1.11.0 to 1.12.0 (…

Bump github.com/tailscale/tailscale-client-go from 1.11.0 to 1.12.0 (… #41

Workflow file for this run

name: release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Get cache paths
id: cache
run: |
echo "build=$(go env GOCACHE)" | tee -a $GITHUB_OUTPUT
echo "module=$(go env GOMODCACHE)" | tee -a $GITHUB_OUTPUT
- name: Set up cache
uses: actions/cache@v3
with:
path: |
${{ steps.cache.outputs.build }}
${{ steps.cache.outputs.module }}
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GITHUB_TOKEN: ${{ github.token }}