Git branch flow improvements #439
Workflow file for this run
This file contains hidden or 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
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| name: Lint and Test | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Lint/Test | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| shared-key: ci | |
| cache-on-failure: true | |
| - run: npm ci | |
| - run: npm run bootstrap | |
| - run: npm run lint | |
| - name: Run JS Tests | |
| run: npm test | |
| - name: Run Rust Tests | |
| run: cargo test --all |