Skip to content

🚑 Allow token revocation using a revoked_tokens.txt file at website… #95

🚑 Allow token revocation using a revoked_tokens.txt file at website…

🚑 Allow token revocation using a revoked_tokens.txt file at website… #95

Workflow file for this run

on: [push, pull_request]
name: Test
# TODO: Run for all crates
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# TODO: Centralize this data
target: [x86_64-unknown-linux-gnu]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
override: true
- name: Verify versions
run: rustc --version && rustup --version && cargo --version
- name: Cache build context
id: cache-cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-${{ matrix.target }}-cargo
- name: Test on ${{ matrix.target }}
working-directory: ./src/orangutan-server
run: cargo test
# TODO: Only check code style for one target
- name: Check code style
working-directory: ./src/orangutan-server
run: cargo fmt -- --check