From c1f768fc1f6e76afdefeb5c908daced4c076531e Mon Sep 17 00:00:00 2001 From: Jacob Homanics Date: Thu, 1 Feb 2024 01:54:35 -0600 Subject: [PATCH] updated lint yaml and deployed to localhost --- .github/workflows/lint.yaml | 22 ++++++++++++++----- .../nextjs/contracts/deployedContracts.ts | 2 +- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 9938cae..c8dfa53 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [lts/*] + node: [16.x] steps: - name: Checkout @@ -25,13 +25,25 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - cache: yarn + cache : yarn - name: Install dependencies run: yarn install --immutable - - name: Run hardhat node, deploy contracts (& generate contracts typescript output) + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 + + - name: Run foundry node, deploy contracts (& generate contracts typescript output) + env: + ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} run: yarn chain & yarn deploy + id: build + + - name: Run tests + run: forge test -vvv + + - name: Run snapshot + run: forge snapshot - name: Run nextjs lint run: yarn next:lint --max-warnings=0 @@ -39,5 +51,5 @@ jobs: - name: Check typings on nextjs run: yarn next:check-types - - name: Run hardhat lint - run: yarn hardhat:lint --max-warnings=0 + #- name: Run hardhat lint + # run: yarn hardhat:lint --max-warnings=0 diff --git a/packages/nextjs/contracts/deployedContracts.ts b/packages/nextjs/contracts/deployedContracts.ts index 5a467d5..7595349 100644 --- a/packages/nextjs/contracts/deployedContracts.ts +++ b/packages/nextjs/contracts/deployedContracts.ts @@ -7,7 +7,7 @@ import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract"; const deployedContracts = { 31337: { ReputationTokensStandalone: { - address: "0x84eA74d481Ee0A5332c457a4d796187F6Ba67fEB", + address: "0x5FbDB2315678afecb367f032d93F642f64180aa3", abi: [ { type: "constructor",