Skip to content

Commit

Permalink
Merge pull request blockful-io#135 from 0xneves/main
Browse files Browse the repository at this point in the history
fix: moving from secrets into vars
  • Loading branch information
0xneves authored Dec 8, 2023
2 parents 2a35d9b + b88afe3 commit 202a9e5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- TestSwaplace

env:
DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }}
DEPLOYER_PRIVATE_KEY: ${{ vars.DEPLOYER_PRIVATE_KEY }}

steps:
- uses: actions/checkout@v2
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: Tests

on:
push:
branches:
- main
pull_request:
push:
branches:
- main
pull_request:

jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest

env:
DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }}
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 18.16.0
env:
DEPLOYER_PRIVATE_KEY: ${{ vars.DEPLOYER_PRIVATE_KEY }}

- name: Install dependencies
run: yarn install
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 18.16.0

# This is required separately from yarn test because it generates the typechain definitions
- name: Compile
run: yarn compile
- name: Install dependencies
run: yarn install

- name: Run unit tests
run: yarn test
# This is required separately from yarn test because it generates the typechain definitions
- name: Compile
run: yarn compile

- name: Run unit tests
run: yarn test

0 comments on commit 202a9e5

Please sign in to comment.