bump nix (#526) #2762
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
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- 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@v15 | |
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@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | |
with: | |
name: gauntlet-eslint-report | |
path: ./eslint-report.json | |
integration_gauntlet_run_tests: | |
name: Run Integration Gauntlet Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Collect Metrics | |
id: collect-gha-metrics | |
uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 | |
with: | |
id: starknet-integration-gauntlet | |
org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} | |
basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} | |
hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }} | |
this-job-name: Run Integration Gauntlet Tests | |
- name: Checkout sources | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- 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 |