build(deps): Bump google.golang.org/protobuf from 1.30.0 to 1.34.2 #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Artifacts | |
on: | |
push: | |
branches: [main] | |
tags: ['v[0-9]+.[0-9]+.[0-9]+'] | |
pull_request: | |
defaults: | |
run: | |
shell: nix develop .#ci -c bash {0} | |
jobs: | |
binaries: | |
name: Binaries | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
id-token: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Nix | |
uses: cachix/install-nix-action@v20 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- name: Prepare Nix shell | |
run: echo | |
- name: Check configuration | |
run: goreleaser check | |
- name: Check required dependencies | |
run: goreleaser healthcheck | |
- name: Build | |
run: goreleaser release --snapshot --skip-sign | |
if: github.event_name != 'push' || github.ref_type != 'tag' | |
- name: Build and publish | |
run: goreleaser release | |
if: github.event_name == 'push' && github.ref_type == 'tag' | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |