Add validations #4
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: "Validations" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
Validations: | |
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline | |
name: "Validations" | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Bootstrap environment | |
uses: ./.github/actions/bootstrap | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
# since we are building snapshots, we want to use the same cache for downstream jobs / workflows | |
build-cache-key-prefix: "snapshot" | |
- name: Run unit tests | |
run: make pr-validations |