Skip to content

Automatically remove expired join request quizzes #30

Automatically remove expired join request quizzes

Automatically remove expired join request quizzes #30

Workflow file for this run

name: Pre-Checks
on:
pull_request:
branches:
- main
paths-ignore:
- 'README.md'
- 'LICENSE.md'
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: cache cargo bin
uses: actions/cache@v3
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-bin-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-bin-
- name: run test
run: cargo test --verbose
check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install rustfmt
run: rustup component add rustfmt
- name: run rustfmt check
run: cargo fmt -- --check