Skip to content
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
6 changes: 4 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ name: Pytest
on: [push, pull_request, workflow_dispatch]
jobs:
test:
permissions:
contents: write # Update Coverage Badge needs write permission to push to gh-pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v6
with:
python-version: "3.10"

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ name: Test
on: [push, pull_request, workflow_dispatch]
jobs:
test:
permissions:
contents: write # Update Coverage Badge needs write permission to push to gh-pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- uses: actions/setup-node@v6

# Install and Test Example
- name: Install and Test Example
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# .github/workflows/test.yml
# ...
- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v6
with:
python-version: "3.10"

Expand Down Expand Up @@ -85,8 +85,8 @@
runs-on: ubuntu-latest
steps:
# Your original steps
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
- name: Install
run: npm install
- name: Test and Coverage
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
fi

- name: Checkout ${{ steps.pick-deploy-branch.outputs.deploy_branch }}
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ steps.pick-deploy-branch.outputs.deploy_branch }}

Expand Down Expand Up @@ -79,6 +79,6 @@ runs:
# Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/coverage-badge-action/coverage-badge-action/action.yml'.
# Did you forget to run actions/checkout before running your local action?
- name: Checkout Back
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ github.ref }}
Loading