update CI and chores (#154) #209
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: full | |
jobs: | |
check: | |
name: Rust project | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v2 | |
- uses: extractions/setup-just@v1 | |
- name: Run cargo check | |
run: just quick-test | |
env: | |
TV_SESSION: ${{ secrets.TV_SESSION }} | |
TV_SIGNATURE: ${{ secrets.TV_SIGNATURE }} | |
TV_USERNAME: ${{ secrets.TV_USERNAME }} | |
TV_PASSWORD: ${{ secrets.TV_PASSWORD }} | |
TV_TOTP_USERNAME: ${{ secrets.TV_TOTP_USERNAME }} | |
TV_TOTP_PASSWORD: ${{ secrets.TV_TOTP_PASSWORD }} | |
TV_TOTP_SECRET: ${{ secrets.TV_TOTP_SECRET }} |