Skip to content

Commit

Permalink
Update workflow versions and fix one relation (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaShWoof committed Sep 16, 2024
1 parent 2fc94d9 commit b382d9e
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 38 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-market.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
if: github.event.inputs.eth_pk == ''

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16'

Expand All @@ -77,7 +77,7 @@ jobs:
NETWORK_PROVIDER: ${{ fromJSON('["", "http://localhost:8585"]')[github.event.inputs.eth_pk == ''] }}
REMOTE_ACCOUNTS: ${{ fromJSON('["", "true"]')[github.event.inputs.eth_pk == ''] }}

- uses: actions/upload-artifact@v2 # upload test results
- uses: actions/upload-artifact@v4 # upload test results
if: success() || failure() # run this step even if previous step failed
with:
name: ${{ github.event.inputs.network }}-${{ github.event.inputs.deployment }}-verify-args
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/enact-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ jobs:
if: github.event.inputs.eth_pk == '' && env.GOV_NETWORK != ''

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16'

Expand All @@ -100,7 +100,7 @@ jobs:
- name: Check types
run: yarn tsc

- uses: dawidd6/action-download-artifact@v2
- uses: dawidd6/action-download-artifact@v4
with:
workflow: prepare-migration.yml
run_id: ${{ github.event.inputs.run_id }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prepare-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
if: github.event.inputs.eth_pk == ''

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16'

Expand All @@ -77,7 +77,7 @@ jobs:
NETWORK_PROVIDER: ${{ fromJSON('["", "http://localhost:8585"]')[github.event.inputs.eth_pk == ''] }}
REMOTE_ACCOUNTS: ${{ fromJSON('["", "true"]')[github.event.inputs.eth_pk == ''] }}

- uses: actions/upload-artifact@v2 # upload test results
- uses: actions/upload-artifact@v4 # upload test results
if: success() || failure() # run this step even if previous step failed
with:
name: ${{ github.event.inputs.network }}-${{ github.event.inputs.deployment }}-${{ github.event.inputs.migration }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-contract-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
LINEASCAN_KEY: ${{ secrets.LINEASCAN_KEY }}
OPTIMISMSCAN_KEY: ${{ secrets.OPTIMISMSCAN_KEY }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
OPTIMISMSCAN_KEY: ${{ secrets.OPTIMISMSCAN_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: '16'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-eslint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
OPTIMISMSCAN_KEY: ${{ secrets.OPTIMISMSCAN_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: '16'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-forge-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-gas-profiler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
OPTIMISMSCAN_KEY: ${{ secrets.OPTIMISMSCAN_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16'

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/run-scenarios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: '16'

- name: Cache Deployments
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
deployments/*/.contracts
Expand All @@ -54,10 +54,10 @@ jobs:
- name: Run scenarios
run: yarn scenario --bases ${{ matrix.bases }}

- uses: actions/upload-artifact@v2 # upload scenario results
- uses: actions/upload-artifact@v4 # upload scenario results
if: success() || failure() # run this step even if previous step failed
with:
name: scenario-results
name: scenario-results-${{ matrix.bases }}
path: scenario-results.json

- uses: dorny/test-reporter@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-slither.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
OPTIMISMSCAN_KEY: ${{ secrets.OPTIMISMSCAN_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16'

Expand All @@ -34,7 +34,7 @@ jobs:
- name: Run tests
run: yarn test

- uses: actions/upload-artifact@v2 # upload test results
- uses: actions/upload-artifact@v4 # upload test results
if: success() || failure() # run this step even if previous step failed
with:
name: test-results
Expand Down
10 changes: 0 additions & 10 deletions deployments/optimism/weth/relations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,4 @@ export default {
WBTC: {
artifact: 'contracts/ERC20.sol:ERC20'
},

// weETH
TransparentUpgradeableProxy: {
artifact: 'contracts/ERC20.sol:ERC20',
delegates: {
field: {
slot: '0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc'
}
}
},
};

0 comments on commit b382d9e

Please sign in to comment.