Merge pull request #117 from Liqwid-Labs/connor/fix-ci
Fix ci doesn't run on `main` branch; reference to dependent repos normally
This commit is contained in:
commit
9090b7c84e
3 changed files with 1523 additions and 402 deletions
20
.github/workflows/integrate.yaml
vendored
20
.github/workflows/integrate.yaml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
|||
- "flake.lock"
|
||||
- "agora.cabal"
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- staging
|
||||
pull_request:
|
||||
paths:
|
||||
|
|
@ -29,14 +29,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2.4.0
|
||||
|
||||
- uses: webfactory/ssh-agent@v0.5.4
|
||||
with:
|
||||
ssh-private-key: |
|
||||
${{ secrets.LIQWID_PLUTARCH_EXTRA_PRIVATE }}
|
||||
${{ secrets.PLUTARCH_NUMERIC_PRIVATE }}
|
||||
${{ secrets.PLUTARCH_SAFE_MONEY_PRIVATE }}
|
||||
${{ secrets.PLUTARCH_CONTEXT_BUILDER_PRIVATE }}
|
||||
|
||||
- uses: cachix/install-nix-action@v16
|
||||
name: Set up Nix and IOHK caches
|
||||
with:
|
||||
|
|
@ -58,14 +50,6 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.4.0
|
||||
|
||||
- uses: webfactory/ssh-agent@v0.5.4
|
||||
with:
|
||||
ssh-private-key: |
|
||||
${{ secrets.LIQWID_PLUTARCH_EXTRA_PRIVATE }}
|
||||
${{ secrets.PLUTARCH_NUMERIC_PRIVATE }}
|
||||
${{ secrets.PLUTARCH_SAFE_MONEY_PRIVATE }}
|
||||
${{ secrets.PLUTARCH_CONTEXT_BUILDER_PRIVATE }}
|
||||
|
||||
- uses: cachix/install-nix-action@v16
|
||||
name: Set up Nix and IOHK caches
|
||||
|
|
@ -88,7 +72,7 @@ jobs:
|
|||
# which is set to automatically deploy to https://liqwid-labs.github.io/agora/.
|
||||
- name: Publish Documentation
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/main'
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./result/agora/html
|
||||
|
|
|
|||
1897
flake.lock
generated
1897
flake.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -17,17 +17,17 @@
|
|||
"plutarch/haskell-nix/nixpkgs-unstable";
|
||||
|
||||
inputs.liqwid-plutarch-extra.url =
|
||||
"git+ssh://git@github.com/Liqwid-Labs/liqwid-plutarch-extra?ref=main";
|
||||
"github:Liqwid-Labs/liqwid-plutarch-extra?ref=main";
|
||||
inputs.plutarch-numeric.url =
|
||||
"git+ssh://git@github.com/Liqwid-Labs/plutarch-numeric?ref=main";
|
||||
"github:Liqwid-Labs/plutarch-numeric?ref=main";
|
||||
inputs.plutarch-safe-money.url =
|
||||
"git+ssh://git@github.com/Liqwid-Labs/plutarch-safe-money?ref=main";
|
||||
"github:Liqwid-Labs/plutarch-safe-money?ref=main";
|
||||
|
||||
# Testing
|
||||
inputs.plutarch-quickcheck.url =
|
||||
"github:liqwid-labs/plutarch-quickcheck?ref=staging";
|
||||
inputs.plutarch-context-builder.url =
|
||||
"git+ssh://git@github.com/Liqwid-Labs/plutarch-context-builder?ref=main";
|
||||
"github:Liqwid-Labs/plutarch-context-builder?ref=main";
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, nixpkgs-latest, haskell-nix, plutarch, ... }:
|
||||
let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue