Skip to content

Commit 6f0fc81

Browse files
committed
Create GA workflow
1 parent f7642af commit 6f0fc81

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Purescript Lua CI
2+
on:
3+
pull_request:
4+
push:
5+
jobs:
6+
tests:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: "📥 Checkout repository"
10+
uses: actions/checkout@v3
11+
12+
- name: "❄ Install Nix"
13+
uses: cachix/install-nix-action@v22
14+
with:
15+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
16+
extra_nix_config: |
17+
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
18+
substituters = https://hydra.iohk.io https://cache.nixos.org/
19+
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
20+
21+
- uses: cachix/cachix-action@v12
22+
with:
23+
name: purescript-lua
24+
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
25+
26+
- name: "🔨 Build & test"
27+
run: nix develop -c cabal test all --test-show-details=direct

0 commit comments

Comments
 (0)