Etcm 9693 plutus smart contracts for managing the key value store #561
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Partner Chains Smart Contracts CI' | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- develop | |
workflow_dispatch: | |
env: | |
AWS_DEFAULT_REGION: eu-central-1 | |
jobs: | |
build-x64-linux: | |
permissions: | |
id-token: write | |
contents: read | |
runs-on: [ self-hosted, Linux ] | |
env: | |
# Modify this value to "invalidate" the cabal cache. | |
CABAL_CACHE_VERSION: "2024-11-14" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ github.token }} | |
- name: Add signing key for nix | |
run: echo "${{ secrets.NIX_SIGNING_KEY }}" > "${{ runner.temp }}/nix-key" | |
- name: Lint sources | |
run: | | |
nix flake check | |
- name: Build onchain | |
run: | | |
cd onchain | |
nix develop --command "make" | |
- name: Build raw scripts crate | |
run: | | |
cd raw-scripts | |
nix develop --command "make" |