Skip to content

Bump actions/setup-python from 5.3.0 to 5.4.0 #1252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
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
13 changes: 10 additions & 3 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,23 @@ jobs:
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5.3.0
uses: actions/setup-python@v5.4.0
with:
python-version: "3.9"
architecture: "x64"
python-version: "3.13"

- uses: r-lib/actions/setup-r@v2

- name: Run pre-commit
uses: pre-commit/[email protected]
env:
SKIP: pkgdown

- name: Commit files
if: failure() && startsWith(github.ref, 'refs/heads')
run: |
Expand All @@ -42,12 +47,14 @@ jobs:
git checkout -- .github/workflows
git commit -m "pre-commit" -a
fi

- name: Push changes
if: failure() && startsWith(github.ref, 'refs/heads')
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

env:
RENV_CONFIG_CACHE_ENABLED: FALSE
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions styler.Rproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version: 1.0
ProjectId: 0778f065-a50f-4f3e-8b43-841eded0d216

RestoreWorkspace: No
SaveWorkspace: No
Expand Down
Loading