Skip to content

HOTFIX For breaking nix update for cachix #352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v14.1
uses: cachix/install-nix-action@v19
with:
install_url: "https://releases.nixos.org/nix/nix-2.3.16/install"
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}


- name: Upload release.nix
uses: ttuegel/upload-release.nix@v1.0
Expand Down
32 changes: 17 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v14.1
uses: cachix/install-nix-action@v19
with:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
substituters = http://cache.nixos.org https://hydra.iohk.io
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
install_url: "https://releases.nixos.org/nix/nix-2.3.16/install"

- name: Install Cachix
uses: cachix/cachix-action@v10
uses: cachix/cachix-action@v12
with:
name: runtimeverification
extraPullNames: kore
skipPush: true
name: k-framework
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
skipPush: true

- name: Check materialization
run: nix-build --arg checkMaterialization true iele-assemble -A project.stack-nix
Expand All @@ -45,19 +46,20 @@ jobs:
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v14.1
uses: cachix/install-nix-action@v19
with:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
extra_nix_config: |
substituters = http://cache.nixos.org https://hydra.iohk.io
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
install_url: "https://releases.nixos.org/nix/nix-2.3.16/install"
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
substituters = http://cache.nixos.org https://hydra.iohk.io
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=

- name: Install Cachix
uses: cachix/cachix-action@v10
uses: cachix/cachix-action@v12
with:
name: runtimeverification
extraPullNames: kore
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
name: k-framework
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
skipPush: true

- name: Build
run: K_OPTS=-Xmx6G nix-build --cores 1
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ jobs:
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v14.1
uses: cachix/install-nix-action@v19
with:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
substituters = http://cache.nixos.org https://hydra.iohk.io
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
install_url: "https://releases.nixos.org/nix/nix-2.3.16/install"

- name: Materialize
run: ./nix/rematerialize.sh
Expand Down