diff --git a/.github/workflows/ruru-post.yml b/.github/workflows/ruru-post.yml index 85a55d3..247e57b 100644 --- a/.github/workflows/ruru-post.yml +++ b/.github/workflows/ruru-post.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Download the report (data only)" - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: ruru-report path: ruru @@ -34,7 +34,7 @@ jobs: echo "number=$n" >> "$GITHUB_OUTPUT" - name: "ruru post" - uses: jpsanders/ruru-review@main + uses: jpsanders/ruru-review@1.0.0 with: run: post report: ruru/ruru-report.json diff --git a/.github/workflows/ruru.yml b/.github/workflows/ruru.yml index 6faf838..e5e0e8d 100644 --- a/.github/workflows/ruru.yml +++ b/.github/workflows/ruru.yml @@ -28,14 +28,14 @@ jobs: run: python -m pip install -e ".[dev]" - name: "ruru" - uses: jpsanders/ruru-review@main + uses: jpsanders/ruru-review@1.0.0 with: mode: gate report: ruru/ruru-report.json - name: "Upload the report for the posting workflow" if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ruru-report path: ruru/ diff --git a/Makefile b/Makefile index 124145a..77630ab 100644 --- a/Makefile +++ b/Makefile @@ -131,7 +131,7 @@ checks: isort-check black-check ec docstyle lint mypy bandit man-check pytest ru # ruru reviews the change on this branch against main: a tamper audit of the tests, fail first for new tests, and # mutants on the changed lines (https://github.com/jpsanders/ruru-review). On main with nothing changed it passes at # once. `make checks RURU=:` skips it; RURU_BASE and RURU_MODE override the defaults. -RURU ?= uvx --python 3.14 --from git+https://github.com/jpsanders/ruru-review@main ruru +RURU ?= uvx --python 3.14 --from git+https://github.com/jpsanders/ruru-review@1.0.0 ruru RURU_BASE ?= origin/main RURU_MODE ?= gate