Skip to content

chore(ci): github actions maintenance #3381

chore(ci): github actions maintenance

chore(ci): github actions maintenance #3381

name: Integration Gauntlet
on:
push:
branches:
- develop
- main
pull_request:
jobs:
gauntlet_eslint:
name: Gauntlet ESLint
env:
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- name: Install Nix
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: "sandbox = false"
- name: Cache Nix
uses: cachix/cachix-action@ad2ddac53f961de1989924296a1f236fcfbaa4fc
with:
name: chainlink-cosmos
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix develop -c yarn install --frozen-lockfile
- run: nix develop -c yarn eslint
- name: Upload eslint report
if: always()
uses: actions/upload-artifact@v4
with:
name: gauntlet-eslint-report
path: ./eslint-report.json
integration_gauntlet_run_tests:
name: Run Integration Gauntlet Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v5
with:
persist-credentials: false
- name: Install Nix
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Install Cairo
uses: ./.github/actions/install-cairo
- name: Test
run: nix develop -c make test-integration-gauntlet
- name: Test - Run Gauntlet CLI via Yarn
run: nix develop -c yarn gauntlet