Skip to content

Commit d7b272a

Browse files
authored
Use current versions in README (#21)
Upgrading to latest released versions of actions in README
1 parent daceb55 commit d7b272a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
pre-commit:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v2
28-
- uses: actions/setup-python@v2
29-
- uses: cloudposse/github-action-pre-commit@v2.1.2
27+
- uses: actions/checkout@v4
28+
- uses: actions/setup-python@v5
29+
- uses: cloudposse/github-action-pre-commit@v4.0.0
3030
```
3131
3232
This does a few things:
@@ -44,7 +44,7 @@ Here's a sample step configuration that only runs the `flake8` hook against all
4444
the files (use the template above except for the `pre-commit` action):
4545

4646
```yaml
47-
- uses: cloudposse/github-action-pre-commit@v2.1.2
47+
- uses: cloudposse/github-action-pre-commit@v4.0.0
4848
with:
4949
extra_args: flake8 --all-files
5050
```
@@ -69,7 +69,7 @@ pushing
6969
next is passing the token to the pre-commit action
7070

7171
```yaml
72-
- uses: cloudposse/github-action-pre-commit@v2.1.2
72+
- uses: cloudposse/github-action-pre-commit@v4.0.0
7373
with:
7474
token: ${{ secrets.GITHUB_TOKEN }}
7575
git_user_name: pre-commit

0 commit comments

Comments
 (0)