Skip to content

Merge pull request #17 from pelasgus/dependabot/github_actions/cachix… #8

Merge pull request #17 from pelasgus/dependabot/github_actions/cachix…

Merge pull request #17 from pelasgus/dependabot/github_actions/cachix… #8

Workflow file for this run

# workflow.yml
# Author: D.A.Pelasgus
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: |
nix-shell ./etc/shells/nix/rust.nix
nix-shell ./etc/shells/nix/tauri.nix
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose