Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: bump actions/checkout from 3 to 4 #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 49 additions & 49 deletions .github/workflows/build-reusable.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Environment variables defined in a calling workflow are not accessible to this reusable workflow. Refer to the documentation for further details on this limitation.
name: Build Reusable
on:

Check warning on line 4 in .github/workflows/build-reusable.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

4:1 [truthy] truthy value should be one of [false, true]
workflow_call:
secrets:
CODECOV_TOKEN:
Expand Down Expand Up @@ -41,7 +41,7 @@
pypi_version: ${{ steps.psr.outputs.pypi_version }}
pypi_tag: ${{ steps.psr.outputs.pypi_tag }}
steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4
with:
lfs: true
submodules: recursive
Expand Down Expand Up @@ -116,7 +116,7 @@
CIBWBEFOREALL: "${{inputs.CIBWBEFOREALLWindows}}",
}
steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4
with:
lfs: true
submodules: recursive
Expand All @@ -135,61 +135,61 @@
runs-on: windows-2019
if: inputs.Pure == true
steps:
- uses: actions/checkout@v4.1.0
with:
lfs: true
submodules: recursive
# Python Semantic Release needs access to the full history to determine whether a release should be made.
fetch-depth: 0
- uses: "./.github/actions/steps_psr"
name: Python Semantic Release
with:
PyVersionLatest: "${{inputs.PyVersionLatest}}"
PkgRootFolder: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Environment Setup
run: python -m pip install --upgrade --requirement requirements_deploy.txt
working-directory: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Build Distribution
run: python setup.py bdist_wheel
working-directory: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Publish Wheel for Python ${{inputs.PyVersionLatest}}
uses: actions/upload-artifact@v4.1.0
with:
name: Wheel${{inputs.PyVersionLatest}}
path: "${{ github.workspace }}\\${{inputs.PkgRootFolder}}\\dist"
- uses: actions/checkout@v4

Check failure on line 138 in .github/workflows/build-reusable.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

138:5 [indentation] wrong indentation: expected 6 but found 4
with:
lfs: true
submodules: recursive
# Python Semantic Release needs access to the full history to determine whether a release should be made.
fetch-depth: 0
- uses: "./.github/actions/steps_psr"
name: Python Semantic Release
with:
PyVersionLatest: "${{inputs.PyVersionLatest}}"
PkgRootFolder: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Environment Setup
run: python -m pip install --upgrade --requirement requirements_deploy.txt
working-directory: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Build Distribution
run: python setup.py bdist_wheel
working-directory: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Publish Wheel for Python ${{inputs.PyVersionLatest}}
uses: actions/upload-artifact@v4.1.0
with:
name: Wheel${{inputs.PyVersionLatest}}
path: "${{ github.workspace }}\\${{inputs.PkgRootFolder}}\\dist"
PackageSDist:
name: Package Source Distribution
runs-on: windows-2019
steps:
- uses: actions/checkout@v4.1.0
with:
lfs: true
submodules: recursive
# Python Semantic Release needs access to the full history to determine whether a release should be made.
fetch-depth: 0
- uses: "./.github/actions/steps_psr"
name: Python Semantic Release
with:
PyVersionLatest: "${{inputs.PyVersionLatest}}"
PkgRootFolder: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Environment Setup
run: python -m pip install --upgrade --requirement requirements_deploy.txt
working-directory: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Build Distribution
run: python setup.py sdist
working-directory: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Publish Sdist
uses: actions/upload-artifact@v4.1.0
with:
name: Sdist
path: "${{ github.workspace }}\\${{inputs.PkgRootFolder}}\\dist"
- uses: actions/checkout@v4

Check failure on line 164 in .github/workflows/build-reusable.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

164:5 [indentation] wrong indentation: expected 6 but found 4
with:
lfs: true
submodules: recursive
# Python Semantic Release needs access to the full history to determine whether a release should be made.
fetch-depth: 0
- uses: "./.github/actions/steps_psr"
name: Python Semantic Release
with:
PyVersionLatest: "${{inputs.PyVersionLatest}}"
PkgRootFolder: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Environment Setup
run: python -m pip install --upgrade --requirement requirements_deploy.txt
working-directory: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Build Distribution
run: python setup.py sdist
working-directory: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
- name: Publish Sdist
uses: actions/upload-artifact@v4.1.0
with:
name: Sdist
path: "${{ github.workspace }}\\${{inputs.PkgRootFolder}}\\dist"
DownloadTestWheelsPure:
# No need to re-test wheels for non-pure wheels produced through cibuildwheel since already tested there
# Can be tested anywhere since it is pure
name: Test Wheel on windows-2019
runs-on: windows-2019
steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4
with:
lfs: true
submodules: recursive
Expand Down Expand Up @@ -220,7 +220,7 @@
- { OS: windows-2019, RunShell: cmd }
runs-on: ${{ matrix.config.OS }}
steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4
with:
lfs: true
submodules: recursive
Expand Down Expand Up @@ -302,7 +302,7 @@
if: always() && needs.Upload.result == 'success'
runs-on: windows-2019
steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4
- name: Tag with PyPI version
uses: actions/github-script@v7
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Simple workflow for deploying static content to GitHub Pages
name: Pages

on:

Check warning on line 5 in .github/workflows/pages.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

5:1 [truthy] truthy value should be one of [false, true]
# Runs on pushes targeting the default branch
push:
branches: ["main"]
Expand Down Expand Up @@ -30,7 +30,7 @@
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true
# From https://github.com/pandoc/pandoc-action-example
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: REUSE

on:

Check warning on line 4 in .github/workflows/reuse.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

4:1 [truthy] truthy value should be one of [false, true]
push:
branches: ["main"]
pull_request:
Expand All @@ -14,7 +14,7 @@
REUSE:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: true
submodules: recursive
Expand Down
Loading