Bump @testing-library/jest-dom from 6.1.2 to 6.1.3 in /app (#479) #1125
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: Rust | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
env: | |
CARGO_TERM_COLOR: always | |
ASSET_DIR: ./app/build | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: latest | |
cache: "npm" | |
cache-dependency-path: ./app/package-lock.json | |
- run: npm ci && npm run build | |
working-directory: ./app | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: llvm-tools-preview, rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install latest nextest release | |
uses: taiki-e/install-action@nextest | |
- name: Install cargo-llvm-cov | |
uses: taiki-e/install-action@cargo-llvm-cov | |
- name: Collect coverage data | |
run: cargo llvm-cov nextest --lcov --output-path lcov.info --workspace | |
- name: Upload coverage data to coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
file: ./lcov.info | |
continue-on-error: true | |
- name: Format | |
run: cargo fmt --all -- --check | |
- name: check +api-mocks | |
run: cargo check --features api-mocks | |
- name: check cli -default | |
run: cargo check -p divviup-cli --no-default-features | |
- name: check cli -default +admin | |
run: cargo check -p divviup-cli --no-default-features --features admin | |
- name: check cli +default +admin | |
run: cargo check -p divviup-cli --features admin |