A better Rust ATProto crate
1name: Trybuild
2
3on:
4 push:
5 paths-ignore:
6 - '.devcontainer/**'
7 - '.gitpod.yml'
8 - '.vscode/**'
9 schedule:
10 # Run against the last commit on the default branch on Friday at 9pm (UTC?)
11 - cron: '0 21 * * 5'
12
13jobs:
14 test:
15 runs-on: ubuntu-latest
16 strategy:
17 matrix:
18 rust:
19 - stable
20 - beta
21
22 steps:
23 - name: Checkout Mini Moka
24 uses: actions/checkout@v4
25
26 - name: Install Rust toolchain
27 uses: dtolnay/rust-toolchain@master
28 with:
29 toolchain: ${{ matrix.rust }}
30
31 - name: Run compile error tests (sync feature, trybuild)
32 if: ${{ matrix.rust == 'stable' }}
33 run: cargo test ui_trybuild --release --features sync
34 env:
35 RUSTFLAGS: '--cfg trybuild'