Bump bufbuild/buf-setup-action in /.github/util/initialize (#2438) #2982
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: CI | |
on: | |
push: | |
branches: [main, feature.*] | |
tags: ['[0-9]+.[0-9]+.*'] | |
pull_request: | |
jobs: | |
test: | |
uses: ./.github/workflows/test.yml | |
secrets: inherit | |
double_check: | |
name: Double-check | |
runs-on: ubuntu-latest | |
needs: [test] | |
if: "startsWith(github.ref, 'refs/tags/') && github.event.repository.fork == false" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/util/initialize | |
with: {github-token: "${{ github.token }}"} | |
- name: Run checks | |
run: dart run grinder double-check-before-release | |
test_vendor: | |
needs: [double_check] | |
if: "startsWith(github.ref, 'refs/tags/') && github.event.repository.fork == false" | |
uses: ./.github/workflows/test-vendor.yml | |
secrets: inherit | |
release: | |
needs: [test_vendor] | |
if: "startsWith(github.ref, 'refs/tags/') && github.event.repository.fork == false" | |
permissions: | |
contents: write | |
uses: ./.github/workflows/release.yml | |
secrets: inherit |