mirror of
https://github.com/utdemir/nix-tree.git
synced 2024-10-05 18:58:59 +03:00
CI changes
This commit is contained in:
parent
97a4df0bb2
commit
177e3342cd
21
.github/workflows/build.yaml
vendored
21
.github/workflows/build.yaml
vendored
@ -3,7 +3,7 @@ on:
|
||||
pull_request:
|
||||
push:
|
||||
jobs:
|
||||
build:
|
||||
build-nix:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
@ -20,4 +20,21 @@ jobs:
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: nix build
|
||||
- run: nix develop -c echo
|
||||
- run: nix develop -c ./format.sh check
|
||||
- run: nix develop -c ./format.sh check
|
||||
build-cabal:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v18
|
||||
with:
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- uses: cachix/cachix-action@v12
|
||||
with:
|
||||
name: utdemir
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: nix develop '.#cabal' -c cabal update
|
||||
- run: nix develop '.#cabal' -c cabal run -- nix-tree --help
|
Loading…
Reference in New Issue
Block a user