Skip to content

fix: Remove links to full beatmap backgrounds (#1082) #911

fix: Remove links to full beatmap backgrounds (#1082)

fix: Remove links to full beatmap backgrounds (#1082) #911

Workflow file for this run

name: Check project
on:
push:
branches: [ "main" ]
pull_request:
jobs:
clippy:
runs-on: ubuntu-24.04
strategy:
matrix:
include:
- kind: default-features
features: default
- kind: full-features
features: full
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
# See failed run <https://github.com/MaxOhn/Bathbot/actions/runs/14284178259/job/40037258476?pr=952>
- name: "Install fontconfig"
run: sudo apt-get -y install libfontconfig1-dev jq
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Run clippy
env:
RUSTFLAGS: -D warnings
run: cargo clippy --workspace --features ${{ matrix.features }} --all-targets --no-deps
rustfmt:
name: Format
runs-on: ubuntu-24.04
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
toolchain: nightly
- name: Check code formatting
run: cargo fmt --all -- --check