Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Bump actions/checkout from 3 to 4 #389

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/clear-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Clear caches
run: |
## Snippet taken from
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deployProd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/workflows/build-deploy
with:
environment: prod
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
name: Smoke test production
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/workflows/smoke-test
timeout-minutes: 10
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deployStaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/workflows/build-deploy
with:
environment: staging
Expand All @@ -57,7 +57,7 @@ jobs:
runs-on: ubuntu-latest
name: Smoke test staging
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/workflows/smoke-test
timeout-minutes: 10
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/detectConflict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
outputs:
pull_request_number: ${{ steps.pr.outputs.pull_request_number }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get Pull Request Number
id: pr
run: echo "::set-output name=pull_request_number::$(gh pr view --json number -q .number || echo "")"
Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
name: Detect conflict
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/find-code-references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout current repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 3 # scan previous two commits for extinctions
- name: Find code references
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
name: Run eslint
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18.x'
Expand All @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
name: Check typescript
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18.x'
Expand All @@ -30,7 +30,7 @@ jobs:
name: Run tests
needs: [lint, tsc] # ensure tests are run only after eslint and tsc pass
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18.x'
Expand All @@ -41,7 +41,7 @@ jobs:
name: Check spelling
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: streetsidesoftware/cspell-action@v2
with:
config: .cspell/config.json
Expand All @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
name: Check local links
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18.x'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manuallyDeployProd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
url: https://docs.launchdarkly.com/
concurrency: prod_deploys
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/workflows/build-deploy
with:
environment: prod
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
name: Smoke test production
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/workflows/smoke-test
with:
environment: prod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/private-public-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
name: Private to public repo sync
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scheduled-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Check external links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Link Checker
uses: lycheeverse/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-test-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Smoke test production
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18.x'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
id-token: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/workflows/ssm-secrets
name: 'Get Ekline token'
with:
Expand Down