Merge pull request #28 from waycrate/dependabot/github_actions/crate-… #131
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Waysip (nix) | |
on: [push, pull_request] | |
jobs: | |
nix: | |
name: "Build Waysip" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Waysip | |
uses: actions/checkout@v4 | |
- name: install nix | |
uses: cachix/install-nix-action@V27 | |
with: | |
install_url: https://nixos.org/nix/install | |
extra_nix_config: | | |
auto-optimise-store = true | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
experimental-features = nix-command flakes | |
- name: Build Nextctl-rs | |
run: | | |
nix develop --command cargo build --release --verbose | |
- name: Formatting Check | |
run: | | |
nix develop --verbose --command cargo check | |
nix develop --verbose --command cargo clippy | |
nix develop --verbose --command cargo fmt |