Skip to content

Commit

Permalink
Update actions/checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche committed Apr 8, 2024
1 parent d3a5f87 commit fc0c0c6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8"]

steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"

- uses: "actions/setup-python@v4"
with:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"

- uses: "actions/setup-python@v4"
with:
Expand All @@ -72,6 +72,9 @@ jobs:
export TOTAL=$(python -c "import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])")
echo "total=$TOTAL" >> $GITHUB_ENV
# Report again and fail if under the threshold.
python -Im coverage report --fail-under=99
- name: "Upload HTML report."
uses: "actions/upload-artifact@v3"
with:
Expand All @@ -97,7 +100,7 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"

- uses: "actions/setup-python@v4"
with:
Expand Down

0 comments on commit fc0c0c6

Please sign in to comment.