-
-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (31 loc) · 949 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 }}