Skip to content

Commit

Permalink
docs: change actions/checkout@v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
jiro4989 committed Jul 7, 2024
1 parent c65a164 commit ab7a15a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ I changed setup-nim-action so that is does not use choosenim to solve this probl

```diff
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache nimble
id: cache-nimble
Expand Down Expand Up @@ -124,7 +124,7 @@ See [action.yml](action.yml)

```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: '2.0.0' # default is 'stable'
Expand All @@ -144,7 +144,7 @@ Setup a latest patch version Nim when `nim-version` is `2.n.x` .

```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: '2.0.x' # ex: 1.0.x, 1.2.x, 1.4.x, 2.0.x ...
Expand All @@ -159,7 +159,7 @@ Setup a latest minor version Nim when `nim-version` is `2.x` .

```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: '2.x'
Expand All @@ -172,7 +172,7 @@ steps:

```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache nimble
id: cache-nimble
uses: actions/cache@v3
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
- 'devel'
name: Nim ${{ matrix.nim }} sample
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup nim
uses: jiro4989/setup-nim-action@v2
with:
Expand All @@ -234,7 +234,7 @@ jobs:
- windows-latest
- macOS-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup nim
uses: jiro4989/setup-nim-action@v2
with:
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
- macOS-latest
name: Nim ${{ matrix.nim }} sample
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup nim
uses: jiro4989/setup-nim-action@v2
with:
Expand All @@ -290,7 +290,7 @@ jobs:
- nim-version: 'devel'
cache-key: 'devel'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache nimble
id: cache-nimble
Expand Down

0 comments on commit ab7a15a

Please sign in to comment.