Skip to content

Commit

Permalink
Bump versions of various github actions components
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Oct 18, 2022
1 parent 6e5122c commit e1a2e02
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autopush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Automatic push to gitlab.tiker.net
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: |
mkdir ~/.ssh && echo -e "Host gitlab.tiker.net\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
eval $(ssh-agent) && echo "$GITLAB_AUTOPUSH_KEY" | ssh-add -
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
name: Flake8
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
-
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
# matches compat target in setup.py
python-version: '3.6'
Expand All @@ -31,7 +31,7 @@ jobs:
name: Pylint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "Main Script"
run: |
CONDA_ENVIRONMENT=.test-conda-env-py3.yml
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
name: Pytest Linux POCL
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "Main Script"
run: |
curl -L -O https://tiker.net/ci-support-v0
Expand All @@ -75,7 +75,7 @@ jobs:
name: Pytest Linux Intel CL
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "Main Script"
run: |
CONDA_ENVIRONMENT=.test-conda-env-py3.yml
Expand All @@ -93,7 +93,7 @@ jobs:
name: Pytest Windows Intel CL
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "Main Script"
shell: bash
run: |
Expand All @@ -116,7 +116,7 @@ jobs:
name: Pytest Mac POCL
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "Main Script"
run: |
export CC=gcc
Expand All @@ -133,9 +133,9 @@ jobs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
-
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: "Main Script"
Expand All @@ -152,7 +152,7 @@ jobs:
name: Examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "Main Script"
run: |
EXTRA_INSTALL="pillow cgen mako imageio"
Expand All @@ -170,7 +170,7 @@ jobs:
name: Tests for downstream project ${{ matrix.downstream_project }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "Main Script"
env:
DOWNSTREAM_PROJECT: ${{ matrix.downstream_project }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-10.15]
os: [ubuntu-20.04, windows-2019, macos-11]

steps:
- uses: actions/checkout@v3
with:
submodules: 'true'

- name: Build wheels
uses: pypa/cibuildwheel@v2.5.0
uses: pypa/cibuildwheel@v2.11.1

- uses: actions/upload-artifact@v2
with:
Expand All @@ -36,12 +36,12 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz

Expand All @@ -53,12 +53,12 @@ jobs:
# alternatively, to publish when a GitHub Release is created, use the following rule:
# if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.4.2
- uses: pypa/gh-action-pypi-publish@v1.5.1
with:
user: __token__
password: ${{ secrets.TWINE_PASSWORD }}
Expand Down

0 comments on commit e1a2e02

Please sign in to comment.