CI on push #39
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: Dapper CI on PR | |
run-name: CI on ${{ github.event_name }} | |
on: | |
pull_request: | |
push: | |
branches: | |
- '*' | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
container: | |
image: rancher/dapper:v0.6.0 | |
permissions: | |
contents: read | |
steps: | |
- name: Fix the not-a-git-repository issue | |
run: | | |
apk -U add git | |
git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: build with Dapper | |
run: dapper ci | |
- name: LS the bin | |
run: ls -lR output/bin |