Skip to content

build(deps): Bump sigstore/cosign-installer from 3.3.0 to 3.4.0 (#91) #188

build(deps): Bump sigstore/cosign-installer from 3.3.0 to 3.4.0 (#91)

build(deps): Bump sigstore/cosign-installer from 3.3.0 to 3.4.0 (#91) #188

Workflow file for this run

name: build
on:
push:
branches:
- 'main'
tags:
- 'v*'
pull_request:
permissions:
contents: write
id-token: write
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: stable
- uses: cachix/install-nix-action@v25
with:
github_access_token: ${{ secrets.GH_PAT }}
- name: test
run: |
go mod tidy
go test -v ./...
go build -o timer .
- uses: sigstore/[email protected]
- uses: goreleaser/goreleaser-action@v5
if: success() && startsWith(github.ref, 'refs/tags/')
with:
distribution: goreleaser-pro
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
AUR_KEY: ${{ secrets.AUR_KEY }}