Skip to content

chore(deps): update reqwest requirement from 0.12 to 0.13 in /back-end #25

chore(deps): update reqwest requirement from 0.12 to 0.13 in /back-end

chore(deps): update reqwest requirement from 0.12 to 0.13 in /back-end #25

Workflow file for this run

name: devenv - rust build and test
on:
push:
branches: ["main", "dev*"]
paths:
- 'back-end/**'
- '.github/workflows/devenv-rust.yml'
pull_request:
branches: ["main", "dev*"]
paths:
- 'back-end/**'
- '.github/workflows/devenv-rust.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
- uses: cachix/cachix-action@v16
with:
name: devenv
- name: Install devenv
run: nix profile install nixpkgs#devenv
- name: Run rustfmt
run: devenv shell -- cargo fmt --all --manifest-path back-end/Cargo.toml -- --check
# - name: Run linter
# run: devenv shell -- cargo clippy --manifest-path back-end/Cargo.toml --all-targets --all -- -D warnings
- name: Build project
run: SQLX_OFFLINE=true devenv shell -- cargo build --manifest-path back-end/Cargo.toml --verbose
- name: Tests
run: SQLX_OFFLINE=true devenv shell -- cargo nextest run --manifest-path back-end/Cargo.toml --all --no-tests pass
- name: Doctests
run: SQLX_OFFLINE=true devenv shell -- cargo test --manifest-path back-end/Cargo.toml --doc
- name: Generate documentation
run: SQLX_OFFLINE=true devenv shell -- cargo doc --manifest-path back-end/Cargo.toml --no-deps --document-private-items