Skip to content

Commit ebab1e6

Browse files
committed
Supply-chain hardening sweep
1 PM config(s); pin 5 deps; pin 7 actions 🛡️ Automated
1 parent 9ef6804 commit ebab1e6

5 files changed

Lines changed: 23 additions & 19 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313

1414
steps:
1515
- name: Check out github repository
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
1717
with:
1818
fetch-depth: 1
1919

2020
- name: Setup node.js
21-
uses: actions/setup-node@v1
21+
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1
2222
with:
2323
node-version: '16.x'
2424

@@ -27,7 +27,7 @@ jobs:
2727
run: echo "::set-output name=dir::$(yarn cache dir)"
2828

2929
- name: Restore yarn cache
30-
uses: actions/cache@v2
30+
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2
3131
id: yarn-cache
3232
with:
3333
path: |
@@ -50,9 +50,9 @@ jobs:
5050

5151
steps:
5252
- name: Check out github repository
53-
uses: actions/checkout@v2
53+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
5454
with:
5555
fetch-depth: 0
5656

5757
- name: Run commitlint
58-
uses: wagoid/commitlint-github-action@v2
58+
uses: wagoid/commitlint-github-action@4b1bcb1c72f99fbd6aa6b34cc3fb59200f01f993 # v2

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
name: Foundry project
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
2222
with:
2323
submodules: recursive
2424

2525
- name: Install Foundry
26-
uses: foundry-rs/foundry-toolchain@v1
26+
uses: foundry-rs/foundry-toolchain@c7450ba673e133f5ee30098b3b54f444d3a2ca2d # v1
2727
with:
2828
version: nightly
2929

.yarnrc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
npmMinimalAgeGate: 10080
2+
enableScripts: false
3+
defaultSemverRangePrefix: ""

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
{
22
"name": "yearn_base_strategy",
33
"devDependencies": {
4-
"prettier": "^2.5.1",
5-
"prettier-plugin-solidity": "^1.0.0-beta.19",
6-
"pretty-quick": "^3.1.3",
4+
"prettier": "2.8.4",
5+
"prettier-plugin-solidity": "1.1.3",
6+
"pretty-quick": "3.1.3",
77
"solc": "0.8.18",
8-
"solhint": "^3.3.7",
9-
"solhint-plugin-prettier": "^0.0.5"
8+
"solhint": "3.4.0",
9+
"solhint-plugin-prettier": "0.0.5"
1010
},
1111
"scripts": {
1212
"format": "prettier --write 'src/**/*.(sol|json)' 'script/*.sol'",
1313
"format:check": "prettier --check 'src/**/*.*(sol|json)' 'script/*.sol'",
1414
"lint": "solhint 'src/**/*.sol' 'script/*.sol'",
1515
"lint:fix": "solhint --fix 'src/**/*.sol' 'script/*.sol'"
16-
}
17-
}
16+
},
17+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
18+
}

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ prettier-linter-helpers@^1.0.0:
580580
dependencies:
581581
fast-diff "^1.1.2"
582582

583-
prettier-plugin-solidity@^1.0.0-beta.19:
583+
prettier-plugin-solidity@1.1.3:
584584
version "1.1.3"
585585
resolved "https://registry.yarnpkg.com/prettier-plugin-solidity/-/prettier-plugin-solidity-1.1.3.tgz#9a35124f578404caf617634a8cab80862d726cba"
586586
integrity sha512-fQ9yucPi2sBbA2U2Xjh6m4isUTJ7S7QLc/XDDsktqqxYfTwdYKJ0EnnywXHwCGAaYbQNK+HIYPL1OemxuMsgeg==
@@ -589,12 +589,12 @@ prettier-plugin-solidity@^1.0.0-beta.19:
589589
semver "^7.3.8"
590590
solidity-comments-extractor "^0.0.7"
591591

592-
prettier@^2.5.1, prettier@^2.8.3:
592+
prettier@2.8.4, prettier@^2.8.3:
593593
version "2.8.4"
594594
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.4.tgz#34dd2595629bfbb79d344ac4a91ff948694463c3"
595595
integrity sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==
596596

597-
pretty-quick@^3.1.3:
597+
pretty-quick@3.1.3:
598598
version "3.1.3"
599599
resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-3.1.3.tgz#15281108c0ddf446675157ca40240099157b638e"
600600
integrity sha512-kOCi2FJabvuh1as9enxYmrnBC6tVMoVOenMaBqRfsvBHB0cbpYHjdQEpSglpASDFEXVwplpcGR4CLEaisYAFcA==
@@ -685,14 +685,14 @@ solc@0.8.18:
685685
semver "^5.5.0"
686686
tmp "0.0.33"
687687

688-
solhint-plugin-prettier@^0.0.5:
688+
solhint-plugin-prettier@0.0.5:
689689
version "0.0.5"
690690
resolved "https://registry.yarnpkg.com/solhint-plugin-prettier/-/solhint-plugin-prettier-0.0.5.tgz#e3b22800ba435cd640a9eca805a7f8bc3e3e6a6b"
691691
integrity sha512-7jmWcnVshIrO2FFinIvDQmhQpfpS2rRRn3RejiYgnjIE68xO2bvrYvjqVNfrio4xH9ghOqn83tKuTzLjEbmGIA==
692692
dependencies:
693693
prettier-linter-helpers "^1.0.0"
694694

695-
solhint@^3.3.7:
695+
solhint@3.4.0:
696696
version "3.4.0"
697697
resolved "https://registry.yarnpkg.com/solhint/-/solhint-3.4.0.tgz#a7e4f2d73e679cb197a1ca5279aa7534bd323e4d"
698698
integrity sha512-FYEs/LoTxMsWFP/OGsEqR1CBDn3Bn7hrTWsgtjai17MzxITgearIdlo374KKZjjIycu8E2xBcJ+RSWeoBvQmkw==

0 commit comments

Comments
 (0)