Skip to content

Remove snap

Remove snap #76

Workflow file for this run

name: "CI"
on:
pull_request:
push:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Unzip models
run: ./scripts/unzip_models.sh
- uses: cachix/install-nix-action@v30
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix flake check
- run: sudo snap remove rustc
- run: sudo snap remove rustup
- run: sudo apt-get remove rustup rustc
- run: rustup which rustc
- run: rustc --version
- run: rustup --version
- run: nix develop --command cargo fmt -- --check
- run: |
nix develop --command bash -c "export RUSTFLAGS='-D warnings' && cargo clean && cargo clippy"
- run: |
nix develop --command bash -c "export RUSTFLAGS='-D warnings' && cargo clean && cargo test"
- run: nix build