Revamping building and release with dagger multibuild pipeline #34
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: Dagger Pull Request Pipeline | |
on: | |
pull_request: | |
paths-ignore: | |
- '*.md' | |
- 'assets/**' | |
permissions: | |
contents: write # This is required for actions/checkout | |
packages: write # This is required for publishing the package | |
jobs: | |
test-build: | |
if: github.event_name == 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.21" | |
cache: true | |
- name: Run Dagger Pull Request | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: go run ci/release.go pull-request |