on master help sign in
ci: Change to use flake
commitf3c2c6ff43c83bb81ab4e1515e89e34d97bf1795 authorSridhar Ratnakumar <srid@srid.ca> dateSat 11 Mar 2023, 11:56 (4 years ago) parent962b3ce
1 file changed+3−8
.github/workflows/ci.yaml+3−8
.github/workflows/ci.yaml+3−8
@@ -4,15 +4,10 @@ on:
44 push:
55jobs:
66 build:
7− runs-on: ${{ matrix.os }}
8− strategy:
9− matrix:
10− ghc: ['ghc884', 'ghc8101']
11− os: [ubuntu-latest]
12− name: GHC ${{ matrix.ghc }}
7+ runs-on: ubuntu-latest
138 steps:
149 - uses: actions/checkout@v2
15− - uses: cachix/install-nix-action@v10
10+ - uses: nixbuild/nix-quick-install-action@v21
1611 - uses: cachix/cachix-action@v6
1712 with:
1813 name: juspay-nau
@@ -20,4 +15,4 @@ jobs:
2015 # Only needed for private caches
2116 authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
2217 - name: Build and test 🔧
23− run: nix-build -j4 --argstr compiler ${{ matrix.ghc }}
18+ run: nix build -j 4 -L