✅ Update failing tests #449
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: 'Stump Checks CI' | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
check-rust: | |
if: "!contains(github.event.pull_request.head.ref, 'release/v')" | |
name: Rust checks | |
runs-on: [ubuntu-22.04] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup rust | |
uses: ./.github/actions/setup-rust | |
- name: Run cargo checks | |
run: | | |
cargo fmt --all -- --check | |
cargo clippy -- -D warnings | |
# TODO: fix the tests, then uncomment this | |
# - name: Run tests | |
# run: | | |
# cargo integration-tests | |
check-typescript: | |
if: "!contains(github.event.pull_request.head.ref, 'release/v')" | |
name: TypeScript checks | |
runs-on: [ubuntu-22.04] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.0.0' | |
- name: Install yarn | |
shell: bash | |
run: npm install -g yarn | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.0.0' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install | |
- name: Run TypeScript lints | |
run: yarn lint |