Skip to content

Commit

Permalink
Add continuous integration workflow configuration
Browse files Browse the repository at this point in the history
This commit introduces a new continuous integration workflow via GitHub actions. This workflow runs on every push event, checking out the current code, setting up the 'buf' CLI, and pushes the module to the BSR, all under an Ubuntu environment.
  • Loading branch information
gohumble committed May 3, 2024
1 parent 8e5a31d commit 103973c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on: push # Apply to all push
jobs:
push-module:
runs-on: ubuntu-latest
steps:
# Run `git checkout`
- uses: actions/checkout@v2
# Install the `buf` CLI
- uses: bufbuild/buf-setup-action@v1
# Push module to the BSR
- uses: bufbuild/buf-push-action@v1
with:
buf_token: ${{ secrets.BUF_TOKEN }}
create_visibility: private
draft: ${{ github.ref_name != 'main'}}

0 comments on commit 103973c

Please sign in to comment.