fix and update ci config

This commit is contained in:
🪞👃🪞 2024-12-21 03:52:53 +01:00
parent 685d49fd98
commit a2a6ea1260
4 changed files with 46 additions and 3 deletions

View file

@ -1,6 +1,10 @@
on: [push]
jobs:
build:
runs-on: rust
stepS:
- run: cargo build
container:
image: nixos/nix:latest
steps:
- run: nix-channel --list && nix-channel --update
- run: nix-shell -p git --command 'git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .'
- run: whoami && pwd && ls -al
- run: nix-shell --command 'cargo version -vv && cargo check' .forgejo/workflows/build.nix