Skip to content

Commit 0bcbe40

Browse files
committed
Update GitHub Actions workflows to use latest stable action versions (v6) and ubuntu-latest runner
1 parent 13e178a commit 0bcbe40

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/build-wheel.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88

99
jobs:
1010
deploy:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v6
1414
- name: Set up Python
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v6
1616
with:
17-
python-version: '3.6.8'
17+
python-version: '3.9'
1818

1919
- name: Set Branch Name
2020
run: |
@@ -33,13 +33,13 @@ jobs:
3333
python setup.py bdist_wheel --universal
3434
3535
- name: Upload Wheel Artifact
36-
uses: actions/upload-artifact@v2
36+
uses: actions/upload-artifact@v6
3737
with:
3838
name: vecto-wheel-${{ env.branch_name }}-${{ env.git_hash }}
3939
path: dist/*.whl
4040

4141
- name: Upload Dist Directory Artifact
42-
uses: actions/upload-artifact@v2
42+
uses: actions/upload-artifact@v6
4343
with:
4444
name: dist-${{ env.branch_name }}-${{ env.git_hash }}
4545
path: dist/

.github/workflows/publish-pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
deploy:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v6
1414
- name: Set up Python
15-
uses: actions/setup-python@v4
15+
uses: actions/setup-python@v6
1616
with:
1717
python-version: '3.9'
1818
- name: Install dependencies
@@ -27,7 +27,7 @@ jobs:
2727
python setup.py bdist_wheel --universal
2828
2929
- name: Upload Artifacts
30-
uses: actions/upload-artifact@v2
30+
uses: actions/upload-artifact@v6
3131
with:
3232
name: vecto-wheel
3333
path: dist

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010

1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v6
1414

1515
- name: Set up Python
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v6
1717
with:
1818
python-version: '3.9'
1919

.github/workflows/run-api-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
VECTO_API_KEY: ${{ secrets.VECTO_API_KEY }}
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v6
2525
- name: Set up Python
26-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v6
2727
with:
2828
python-version: '3.9'
2929
- name: Build wheel

0 commit comments

Comments
 (0)