Skip to content

Commit

Permalink
Merge pull request #121 from input-output-hk/hrajchert/PLT-8889-fix-c…
Browse files Browse the repository at this point in the history
…i-failures

PLT-8889 - Fix ci failures
  • Loading branch information
hrajchert authored Dec 6, 2023
2 parents b757e1a + c9c0382 commit c9fb933
Show file tree
Hide file tree
Showing 12 changed files with 10,926 additions and 23 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/post-integration.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Post integration
env:
ALLOWED_URIS: "https://github.com https://api.github.com"
TRUSTED_PUBLIC_KEYS: "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= marlowe-temp.cachix.org-1:1gPjVFpu4QjaAT3tRurCioX+BC23V7mjvFwpP5bV0Ec= loony-tools:pr9m4BkM/5/eSTZlkQyRt57Jz7OMBxNSUiMC4FkcNfk="
SUBSTITUTERS: "https://cache.nixos.org/ https://cache.iog.io https://marlowe-temp.cachix.org https://cache.zw3rk.com/"

on:
push:
Expand Down Expand Up @@ -30,6 +34,13 @@ jobs:
- name: 🧰 Setup nix
uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
install_url: https://releases.nixos.org/nix/nix-2.10.3/install
extra_nix_config: |
allowed-uris = ${{ env.ALLOWED_URIS }}
trusted-public-keys = ${{ env.TRUSTED_PUBLIC_KEYS }}
substituters = ${{ env.SUBSTITUTERS }}
experimental-features = nix-command flakes
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- name: 🔨 Build Docs
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/test-suite.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
name: Test suite

env:
ALLOWED_URIS: "https://github.com https://api.github.com"
TRUSTED_PUBLIC_KEYS: "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= marlowe-temp.cachix.org-1:1gPjVFpu4QjaAT3tRurCioX+BC23V7mjvFwpP5bV0Ec= loony-tools:pr9m4BkM/5/eSTZlkQyRt57Jz7OMBxNSUiMC4FkcNfk="
SUBSTITUTERS: "https://cache.nixos.org/ https://cache.iog.io https://marlowe-temp.cachix.org https://cache.zw3rk.com/"
on:
pull_request:
types:
- opened
- synchronize

jobs:
check-changelog:
test-suite:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/[email protected]

- name: 🧰 Setup nix
- name: 🐣 Install Nix
uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

nix_path: nixpkgs=channel:nixos-unstable
install_url: https://releases.nixos.org/nix/nix-2.10.3/install
extra_nix_config: |
allowed-uris = ${{ env.ALLOWED_URIS }}
trusted-public-keys = ${{ env.TRUSTED_PUBLIC_KEYS }}
substituters = ${{ env.SUBSTITUTERS }}
experimental-features = nix-command flakes
- name: 🔨 Build project
run: |
nix develop --show-trace --command bash -c "npm i && npm run build"
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ test-dist

.cache
.local
package-lock.json
yarn.lock
# nixago: ignore-linked-files
/lefthook.yml
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c9fb933

Please sign in to comment.