Skip to content

Upgrade dependencies #1082

Upgrade dependencies

Upgrade dependencies #1082

Workflow file for this run

name: CI
on:
merge_group:
pull_request:
branches:
- main
jobs:
linter-backend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.74.0
profile: minimal
components: clippy, rustfmt
override: true
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features -- --deny warnings
- name: Run rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
tests-backend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.74.0
profile: minimal
override: true
- name: Run backend tests
uses: actions-rs/cargo@v1
with:
command: test