Skip to content

Commit

Permalink
feat: use actions/checkout@v4 everywhere (#895)
Browse files Browse the repository at this point in the history
fix: use `actions/checkout@v4` everywhere
  • Loading branch information
kanadgupta authored Sep 13, 2023
1 parent 12a38a7 commit d30b71c
Show file tree
Hide file tree
Showing 17 changed files with 59 additions and 59 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- 20

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

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand All @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest

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

- name: Install deps
run: npm ci
Expand All @@ -52,12 +52,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout GitHub Action
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: rdme-repo

- name: Checkout external repo containing OpenAPI file
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: oas-examples-repo
repository: readmeio/oas-examples
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install and build rdme deps
run: npm ci && npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
id-token: write
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_GH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout GitHub Action
uses: actions/checkout@v3
uses: actions/checkout@v4

# This is a simple example that runs our `validate` command on a local file.
- name: Run `openapi:validate` command
Expand Down
6 changes: 3 additions & 3 deletions __tests__/cmds/docs/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`docs\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`docs\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`docs\` command 🚀
uses: readmeio/rdme@v7
Expand Down
12 changes: 6 additions & 6 deletions __tests__/cmds/openapi/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi\` command 🚀
uses: readmeio/rdme@v7
Expand Down
6 changes: 3 additions & 3 deletions __tests__/cmds/openapi/__snapshots__/validate.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi:validate\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi:validate\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi:validate\` command 🚀
uses: readmeio/rdme@v7
Expand Down
32 changes: 16 additions & 16 deletions __tests__/lib/__snapshots__/createGHA.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`changelogs\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`changelogs\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`changelogs\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`changelogs\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`custompages\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`custompages\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`custompages\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -319,7 +319,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`custompages\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`docs\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -401,7 +401,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`docs\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -442,7 +442,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`docs\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -483,7 +483,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`docs\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -524,7 +524,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -565,7 +565,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -602,7 +602,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi:validate\` command 🚀
uses: readmeio/rdme@v7
Expand Down Expand Up @@ -639,7 +639,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run \`openapi:validate\` command 🚀
uses: readmeio/rdme@v7
Expand Down
Loading

0 comments on commit d30b71c

Please sign in to comment.