Skip to content

Commit

Permalink
Merge pull request #1753 from lisphilar/issue1752_fu
Browse files Browse the repository at this point in the history
fix: errow with the `uses' attribute must be a path, a Docker image, or owner/repo@ref
  • Loading branch information
lisphilar authored Oct 3, 2024
2 parents 0ee7bb3 + d3bf0c5 commit dfc3d66
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.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@main
with:
all_but_latest: true
access_token: ${{ github.token }}
Expand All @@ -27,15 +27,15 @@ jobs:

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

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

- name: install Poetry
uses: snok/install-poetry
uses: snok/install-poetry@main
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
uses: EndBug/add-and-commit@main
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
uses: hattan/verify-linked-issue-action@master
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
- uses: linhbn123/rebase-pull-requests@master
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
- uses: styfle/cancel-workflow-action@main
with:
all_but_latest: true
access_token: ${{ github.token }}
Expand All @@ -30,24 +30,24 @@ jobs:

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

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

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

- name: load cached venv if available
id: cached-poetry-dependencies
uses: actions/cache
uses: actions/cache@main
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
uses: actions/checkout@main

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

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

- name: load cached venv if available
id: cached-poetry-dependencies
uses: actions/cache
uses: actions/cache@main
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
uses: codecov/codecov-action@main

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

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

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

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

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

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

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

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

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

0 comments on commit dfc3d66

Please sign in to comment.