Add CI checks #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: check | |
on: | |
push: | |
branches: | |
- main | |
- edge | |
- beta | |
- stable | |
pull_request: | |
merge_group: | |
workflow_dispatch: | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
forklift-version: [0.5.0, 0.4.0] | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Forklift | |
uses: PlanktoScope/[email protected] | |
with: | |
version: ${{ matrix.forklift-version }} | |
- name: Cache Forklift repos | |
run: forklift dev plt cache-repo | |
- name: Run Forklift checks | |
run: | | |
forklift dev plt check | |
- name: Dry-run Forklift plans from an empty host | |
run: | | |
forklift dev plt plan --parallel | |
forklift dev plt plan |