Skip to content

Commit

Permalink
docs(readme): update actions/checkout to version 4 (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini authored May 22, 2024
1 parent 76907e7 commit 72c3590
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ width="100%" alt="Nx - Smart, Extensible Build Framework"></p>

- [Example Usage](#example-usage)
- [Configuration Options](#configuration-options)
- [Permissions in v2+](#permissions-in-v2)
- [Self-hosted runners](#self-hosted-runners)
- [Background](#background)
- [Problem](#problem)
- [License](#license)

**NOTE:** This documentation is for version `2.x.x+` which now uses the GitHub API to track successful workflows. You can find documentation for version `1.x.x` which used GIT tags [here](https://github.com/nrwl/nx-set-shas/blob/v1/README.md).
Expand All @@ -28,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
name: My Job
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
fetch-depth: 0
Expand Down Expand Up @@ -136,7 +139,7 @@ jobs:
container: my-org/my-amazing-image:v1.2.3-fresh
name: My Job
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
fetch-depth: 0
Expand Down

0 comments on commit 72c3590

Please sign in to comment.