Bump serde from 1.0.208 to 1.0.218 in /frontend #116
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: Avid Rustacean CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
code_cleaniness_checks: | |
name: Formatting Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Rust | |
uses: hecrj/setup-rust-action@v2 | |
with: | |
rust-version: nightly | |
components: rustfmt | |
- uses: actions/checkout@v4 | |
- run: cargo fmt --check --package avid-rustacean-model | |
- run: cargo fmt --check --manifest-path frontend/Cargo.toml | |
- run: cargo fmt --check --package avid-rustacean-backend | |
tests: | |
needs: code_cleaniness_checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Rust | |
uses: hecrj/setup-rust-action@v2 | |
with: | |
rust-version: stable | |
components: rustfmt | |
targets: wasm32-unknown-unknown | |
- uses: actions/checkout@v4 | |
- name: Fetch Trunk | |
uses: jetli/trunk-action@v0.5.0 | |
with: | |
version: 'latest' | |
- run: cargo build --package avid-rustacean-model --verbose | |
- run: cargo test --package avid-rustacean-model --verbose | |
- run: wget -qO- https://github.com/thedodd/trunk/releases/download/v0.16.0/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf- | |
- run: pwd >> $GITHUB_PATH | |
- run: cargo build --manifest-path frontend/Cargo.toml --verbose | |
- run: trunk build frontend/index.html | |
- run: cargo build --package avid-rustacean-backend --verbose | |
- run: cargo test --package avid-rustacean-backend --verbose | |
deployment: | |
if: github.event_name == 'push' | |
needs: tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: shuttle-hq/deploy-action@main | |
with: | |
deploy-key: ${{ secrets.SHUTTLE_API_KEY }} |