Skip to content

Merge pull request #36 from GlitchSlayed/codex/update-rustyuki-instal… #143

Merge pull request #36 from GlitchSlayed/codex/update-rustyuki-instal…

Merge pull request #36 from GlitchSlayed/codex/update-rustyuki-instal… #143

Workflow file for this run

name: checks
on:
push:
pull_request:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
fedora-checks:
runs-on: ubuntu-latest
container:
# Keep this pinned to a stable Fedora release so CI remains reproducible.
image: fedora:41
steps:
- uses: actions/checkout@v5
- name: Install check dependencies
run: |
dnf install -y \
bash \
cargo \
clippy \
gcc \
coreutils \
diffutils \
findutils \
grep \
rust \
rustfmt \
sed \
util-linux \
which \
shellcheck \
git
- name: Rust format check
run: cargo fmt --all --check
- name: Rust unit/integration tests
run: |
if [[ -f Cargo.lock ]]; then
cargo test --all-targets --locked
else
cargo test --all-targets
fi
- name: Rust Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Rust compile check
run: |
if [[ -f Cargo.lock ]]; then
cargo check --all-targets --locked
else
cargo check --all-targets
fi
- name: Rust build
run: |
if [[ -f Cargo.lock ]]; then
cargo build --all-targets --locked
else
cargo build --all-targets
fi