Skip to content

Commit

Permalink
Merge pull request #1752 from lisphilar/issue_1751
Browse files Browse the repository at this point in the history
use the latest versions of GitHub Actions for workflows
  • Loading branch information
lisphilar authored Oct 3, 2024
2 parents cbb9289 + a405150 commit 0ee7bb3
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:

steps:
- name: check out repository
uses: actions/checkout@v3
uses: actions/checkout

- name: set up Python
uses: actions/setup-python@v4
uses: actions/setup-python
with:
python-version: "3.12"

- name: install Poetry
uses: snok/install-poetry@v1
uses: snok/install-poetry
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand All @@ -49,7 +49,7 @@ jobs:
run: make docs

- name: Git add & commit
uses: EndBug/add-and-commit@v9
uses: EndBug/add-and-commit
with:
add: "."
default_author: github_actor
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_verify_linked_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:

steps:
- name: Verify Linked Issue
uses: hattan/verify-linked-issue-action@v1.1.1
uses: hattan/verify-linked-issue-action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/rebase-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ jobs:
rebase:
runs-on: ubuntu-latest
steps:
- uses: linhbn123/rebase-pull-requests@v1.0.1
- uses: linhbn123/rebase-pull-requests
36 changes: 18 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: styfle/cancel-workflow-action@0.11.0
- uses: styfle/cancel-workflow-action
with:
all_but_latest: true
access_token: ${{ github.token }}
Expand All @@ -30,24 +30,24 @@ jobs:

steps:
- name: check out repository
uses: actions/checkout@v3
uses: actions/checkout

- name: set up Python
id: setup-python
uses: actions/setup-python@v4
uses: actions/setup-python
with:
python-version: ${{ matrix.python-version }}

- name: install Poetry
uses: snok/install-poetry@v1
uses: snok/install-poetry
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- name: load cached venv if available
id: cached-poetry-dependencies
uses: actions/cache@v2
uses: actions/cache
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
Expand All @@ -68,24 +68,24 @@ jobs:

steps:
- name: check out repository
uses: actions/checkout@v3
uses: actions/checkout

- name: set up Python
id: setup-python
uses: actions/setup-python@v4
uses: actions/setup-python
with:
python-version: ${{ matrix.python-version }}

- name: install Poetry
uses: snok/install-poetry@v1
uses: snok/install-poetry
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- name: load cached venv if available
id: cached-poetry-dependencies
uses: actions/cache@v2
uses: actions/cache
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
Expand All @@ -98,7 +98,7 @@ jobs:
run: poetry run pytest tests

- name: upload test coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action

pip-test:
name: test with pip
Expand All @@ -109,10 +109,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -132,9 +132,9 @@ jobs:
python-version: ["3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout
- name: Setup conda
uses: s-weigand/setup-conda@v1
uses: s-weigand/setup-conda
with:
update-conda: true
python-version: ${{ matrix.python-version }}
Expand All @@ -153,17 +153,17 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout
with:
fetch-depth: 2

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init
with:
languages: python

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze

0 comments on commit 0ee7bb3

Please sign in to comment.