1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-11 14:25:57 +03:00

ci: Add example from magic

https://github.com/DeterminateSystems/magic-nix-cache-action#usage
This commit is contained in:
Edmund Miller 2023-12-06 18:27:52 -06:00 committed by Wez Furlong
parent aef7ebff5e
commit 41ec44a7f9

29
.github/workflows/nix.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Nix
on:
pull_request:
branches:
- main
paths:
- '**/*.rs'
- '.github/workflows/nix.yml'
- 'nix/**'
push:
branches:
- main
paths:
- '**/*.rs'
- '.github/workflows/nix.yml'
- 'nix/**'
jobs:
lints:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Run `nix build`
run: nix build .