Skip to content

Commit ba44500

Browse files
authored
Merge pull request #337 from crytic/dev-actions-dep-warning-cleanup
Clean up deprecation warnings in workflows
2 parents 80b2848 + 69e6f18 commit ba44500

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
version: 2
23
updates:
34
- package-ecosystem: "github-actions"

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ jobs:
3939
id: node
4040
shell: bash
4141
run: |
42-
if [ ${{ matrix.type }} = etherlime ]; then
43-
echo '::set-output name=version::10.17.0'
42+
if [ "${{ matrix.type }}" = "etherlime" ]; then
43+
echo 'version=10.17.0' >> "$GITHUB_OUTPUT"
4444
else
45-
echo '::set-output name=version::lts/*'
45+
echo 'version=lts/*' >> "$GITHUB_OUTPUT"
4646
fi
4747
- name: Set up Node
48-
uses: actions/setup-node@v2
48+
uses: actions/setup-node@v3
4949
with:
5050
node-version: ${{ steps.node.outputs.version }}
5151
- name: Set up Python 3.8

.github/workflows/pytest.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Pytest
23

34
defaults:
@@ -14,16 +15,16 @@ on:
1415
branches: [main, dev]
1516
schedule:
1617
# run CI every day even if no PRs/merges occur
17-
- cron: '0 12 * * *'
18+
- cron: '0 12 * * *'
1819

1920
jobs:
2021
tests:
2122
runs-on: ubuntu-latest
2223

2324
steps:
24-
- uses: actions/checkout@v1
25+
- uses: actions/checkout@v3
2526
- name: Set up Python 3.8
26-
uses: actions/setup-python@v1
27+
uses: actions/setup-python@v4
2728
with:
2829
python-version: 3.8
2930

@@ -35,4 +36,4 @@ jobs:
3536
pip install solc-select
3637
- name: Run Tests
3738
run: |
38-
pytest tests/test_metadata.py
39+
pytest tests/test_metadata.py

0 commit comments

Comments
 (0)