-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update security.yaml and remove commands from flake
- Loading branch information
1 parent
252f19f
commit ac751f6
Showing
2 changed files
with
24 additions
and
65 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,28 @@ | ||
name: Security tests | ||
name: Rainix CI | ||
on: [push] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
rainix: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
task: [rainix-sol-static] | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
DEPLOYMENT_KEY: ${{ github.ref == 'refs/heads/main' && secrets.PRIVATE_KEY || secrets.PRIVATE_KEY_DEV }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: cachix/install-nix-action@v18 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@v4 | ||
- uses: DeterminateSystems/nix-installer-action@v4 | ||
- uses: DeterminateSystems/magic-nix-cache-action@v2 | ||
|
||
- name: Security check | ||
run: nix develop -c security-check | ||
- run: nix develop -c rainix-sol-prelude | ||
- name: Run ${{ matrix.task }} | ||
env: | ||
ETH_RPC_URL: ${{ secrets.CI_DEPLOY_RPC_URL }} | ||
ETHERSCAN_API_KEY: ${{ secrets.EXPLORER_VERIFICATION_KEY }} | ||
run: nix develop -c ${{ matrix.task }} |
This file contains 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