add sample just workflow #1
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: Just CI Workflow | |
on: | |
push: | |
branches: | |
- feat-justfile | |
jobs: | |
test-and-lint: | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1: Checkout the repository | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# Step 2: Install Just | |
- name: Install `just` | |
run: | | |
curl -fsSL https://just.systems/install.sh | bash -s -- --to /usr/local/bin | |
echo "::add-path::/usr/local/bin" | |
# Step 3: Run backend functional tests | |
- name: Run backend functional tests | |
run: just backend-functional-tests | |
# Step 4: Run backend code checks | |
- name: Run backend code checks | |
run: just backend-code-check |