Skip to content

Commit

Permalink
GH: update to actions version 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Areustle committed May 2, 2023
1 parent adf7797 commit 9069d27
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.3
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.0
4 changes: 2 additions & 2 deletions .github/workflows/pypi-build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Get history and tags for SCM versioning
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set Up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3

- name: Build wheels
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pypi-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ jobs:
platform_id: macosx_x86_64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Get history and tags for SCM versioning
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set Up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3

- name: Build wheels
run: |
pip wheel -w wheelhouse . --no-deps
- name: Upload Build Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
with:
name: cubepy-gh-pypi-artifact
path: wheelhouse/*.whl
Expand Down

0 comments on commit 9069d27

Please sign in to comment.