diff --git a/.github/workflows/lint.yaml b/.github/workflows/rainix.yaml similarity index 91% rename from .github/workflows/lint.yaml rename to .github/workflows/rainix.yaml index df1fabb5..fa273e93 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/rainix.yaml @@ -1,4 +1,4 @@ -name: Lint checks +name: Rainix CI on: [push] jobs: @@ -6,7 +6,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - task: [ci-lint] + task: [rainix-sol-test, rainix-sol-static] fail-fast: false runs-on: ${{ matrix.os }} env: diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml deleted file mode 100644 index 84694a82..00000000 --- a/.github/workflows/security.yaml +++ /dev/null @@ -1,28 +0,0 @@ -name: Security tests -on: [push] - -jobs: - 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@v4 - with: - submodules: recursive - fetch-depth: 0 - - - uses: DeterminateSystems/nix-installer-action@v4 - - uses: DeterminateSystems/magic-nix-cache-action@v2 - - - 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 }} \ No newline at end of file diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index 65fc4c37..00000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: Tests -on: [push] -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v18 - with: - fetch-depth: 0 - submodules: recursive - - - name: Install Nix - uses: DeterminateSystems/nix-installer-action@v4 - - uses: DeterminateSystems/magic-nix-cache-action@v2 - - - name: Hardhat test - run: nix develop -c hardhat test