1
0
Fork 0
forked from wry/wry

ci: adapt to nix native runner

This commit is contained in:
atagen 2026-04-09 16:22:45 +10:00
parent 7aea0095e9
commit 7b1f3cca04
5 changed files with 6 additions and 90 deletions

View file

@ -12,17 +12,8 @@ env:
jobs:
rustfmt:
runs-on: ubuntu-latest
runs-on: native
steps:
- uses: actions/checkout@v2
- name: Show env
run: |
uname -a
ldd --version
- name: Install
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
rustup toolchain install nightly --allow-downgrade -c rustfmt
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Check
run: cargo +nightly fmt -- --check
run: nix develop .#dev --command cargo fmt -- --check