Skip to content

Commit

Permalink
Add CI checks (#8)
Browse files Browse the repository at this point in the history
* Try adding CI checks

* Fix some typos

* Fix incorrect actions version tag

* Try to actually fix incorrect actions version tag

* Decompose checks

* Try to make forklift v0.4.0 work
  • Loading branch information
ethanjli authored Jan 25, 2024
1 parent f2539fb commit 1dc9ceb
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
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: |
mkdir -p $HOME/.forklift
forklift dev plt cache-repo
- name: Run Forklift checks
run: forklift dev plt check

- name: Make Forklift deployment plan:w
run: forklift dev plt plan

0 comments on commit 1dc9ceb

Please sign in to comment.