runner-test/.github/workflows/test.yaml
neosam 94acc14a42
All checks were successful
Rust / build (push) Successful in 14s
.github/workflows/test.yaml aktualisiert
2024-06-29 12:43:06 +00:00

25 lines
442 B
YAML

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
SQLX_OFFLINE: "true"
jobs:
build:
runs-on: nixos
steps:
- name: Install node
run: nix-env -iA nixpkgs.nodejs
- uses: actions/checkout@v4
- name: Check out the environment
run: env
- name: Try to call cowsay via nix-shell
run: nix-shell -p cowsay --command "cowsay test"