Skip to content

Commit ebcdad2

Browse files
Upgrade versions of Github Action scripts
closes #179 #180
1 parent c166ed3 commit ebcdad2

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

.github/workflows/deploy_site.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
- name: Checkout git
1414
uses: actions/checkout@v3
1515
- name: Setup Python
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v3
1717
with:
1818
python-version: 3.9
1919
architecture: x64
2020
- name: Install Python dependencies
21-
uses: py-actions/py-dependency-install@v2
21+
uses: py-actions/py-dependency-install@v4
2222
with:
2323
path: "scripts/requirements.txt"
2424
- name: Prepare build

.github/workflows/frictionless.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717
- name: Validate data
18-
uses: frictionlessdata/repository@v1
18+
uses: frictionlessdata/repository@v2
19+
with:
20+
inquiry: data/data-validation.yaml

.github/workflows/update_data.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ jobs:
2020
with:
2121
ref: main # branch
2222
- name: Setup Python
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v3
2424
with:
2525
python-version: 3.8
2626
architecture: x64
2727
- name: Install Python dependencies
28-
uses: py-actions/py-dependency-install@v2
28+
uses: py-actions/py-dependency-install@v4
2929
with:
3030
path: "scripts/requirements.txt"
3131
- name: Update ${{ matrix.source }}.csv file
3232
run: "python3 scripts/import/${{ matrix.source }}/import_${{ matrix.source }}.py --output data/${{ matrix.source }}.csv"
3333
- name: re-sync with git repo
3434
run: git pull
3535
- name: commit & push with rebase
36-
uses: augusto-herrmann/rebase-commit-push@1.1.1
36+
uses: benkaiser/rebase-commit-push@1.3
3737
with:
3838
branch: main
3939
author_email: 41898282+github-actions[bot]@users.noreply.github.com

data/data-validation.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
tasks:
2+
- path: data/datapackage.json
File renamed without changes.
File renamed without changes.

scripts/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
python-slugify[unidecode]==6.1.1
22
requests==2.31.0
33
pandas==1.4.1
4-
frictionless==4.28.1
4+
frictionless==5.13.1

0 commit comments

Comments
 (0)