Skip to content

Commit

Permalink
Merge pull request #2382 from navikt/dependabot/github_actions/action…
Browse files Browse the repository at this point in the history
…s/checkout-4

Bump actions/checkout from 3 to 4
  • Loading branch information
sondrele authored Sep 6, 2023
2 parents 8b6a4f6 + d8e6f74 commit 67c5d24
Show file tree
Hide file tree
Showing 17 changed files with 44 additions and 44 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/kafka-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint
uses: ./.github/actions/lint-yaml
with:
Expand All @@ -25,7 +25,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'main'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: List resource files
run: echo "RESOURCE_FILES=$(find iac/kafka-manager/dev -type f | tr '\n' ',' | sed 's/,$/\n/')" >> $GITHUB_ENV
- name: Deploy
Expand All @@ -43,7 +43,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'main'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: List resource files
run: echo "RESOURCE_FILES=$(find iac/kafka-manager/prod -type f | tr '\n' ',' | sed 's/,$/\n/')" >> $GITHUB_ENV
- name: Deploy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kafka-topics-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint
uses: ./.github/actions/lint-yaml
with:
Expand All @@ -25,7 +25,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'main'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: List resource files
run: echo "RESOURCE_FILES=$(find iac/kafka-topics/dev -type f | tr '\n' ',' | sed 's/,$/\n/')" >> $GITHUB_ENV
- name: Deploy kafka topics
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kafka-topics-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint
uses: ./.github/actions/lint-yaml
with:
Expand All @@ -25,7 +25,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'main'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: List resource files
run: echo "RESOURCE_FILES=$(find iac/kafka-topics/prod -type f | tr '\n' ',' | sed 's/,$/\n/')" >> $GITHUB_ENV
- name: Deploy kafka topics
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mr-admin-flate-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint
uses: ./.github/actions/lint-yaml
with:
Expand All @@ -40,7 +40,7 @@ jobs:
needs: [ci]
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Deploy (dev)
uses: nais/deploy/actions/deploy@v1
env:
Expand All @@ -52,7 +52,7 @@ jobs:
needs: [ci]
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Deploy (demo)
uses: nais/deploy/actions/deploy@v1
env:
Expand All @@ -64,7 +64,7 @@ jobs:
needs: [ci, deploy-dev, deploy-demo]
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'dev_and_prod'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Deploy (prod)
uses: nais/deploy/actions/deploy@v1
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mr-admin-flate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup frontend
uses: ./.github/actions/setup-frontend
- name: Test
Expand All @@ -56,7 +56,7 @@ jobs:
id-token: "write" # Used to authenticate with Google Cloud
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup frontend
uses: ./.github/actions/setup-frontend
- name: Build
Expand All @@ -79,7 +79,7 @@ jobs:
id-token: "write" # Used to authenticate with Google Cloud
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup frontend
uses: ./.github/actions/setup-frontend
- name: Build
Expand All @@ -102,7 +102,7 @@ jobs:
id-token: "write" # Used to authenticate with Google Cloud
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'dev_and_prod'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup frontend
uses: ./.github/actions/setup-frontend
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mr-api-alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint
uses: ./.github/actions/lint-yaml
with:
Expand All @@ -25,7 +25,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'main'
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: deploy to dev
uses: nais/deploy/actions/deploy@v1
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mr-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
id-token: write # Needed for `nais/docker-build-push`
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup backend
uses: ./.github/actions/setup-backend
- name: Build with Gradle
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Deploy
uses: nais/deploy/actions/deploy@v1
env:
Expand All @@ -87,7 +87,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'dev_and_prod'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Deploy
uses: nais/deploy/actions/deploy@v1
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mr-arena-adapter-alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint
uses: ./.github/actions/lint-yaml
with:
Expand All @@ -25,7 +25,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'main'
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: deploy to dev
uses: nais/deploy/actions/deploy@v1
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mr-arena-adapter-manager-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint
uses: ./.github/actions/lint-yaml
with:
Expand All @@ -40,7 +40,7 @@ jobs:
needs: [ci]
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: deploy gcp dev
uses: nais/deploy/actions/deploy@v1
env:
Expand All @@ -52,7 +52,7 @@ jobs:
needs: [ci, deploy-dev]
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'dev_and_prod'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: deploy gcp prod
uses: nais/deploy/actions/deploy@v1
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mr-arena-adapter-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup frontend
uses: ./.github/actions/setup-frontend
- name: Build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mr-arena-adapter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
id-token: write # Needed for `nais/docker-build-push`
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup backend
uses: ./.github/actions/setup-backend
- name: Build with Gradle
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Deploy
uses: nais/deploy/actions/deploy@v1
env:
Expand All @@ -86,7 +86,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'dev_and_prod'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Deploy
uses: nais/deploy/actions/deploy@v1
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mr-sanity-studio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup frontend
uses: ./.github/actions/setup-frontend
- name: Bygg studio
Expand All @@ -47,7 +47,7 @@ jobs:
needs: [ci]
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mr-veileder-flate-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint
uses: ./.github/actions/lint-yaml
with:
Expand All @@ -40,7 +40,7 @@ jobs:
needs: [ci]
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Deploy (dev)
uses: nais/deploy/actions/deploy@v1
env:
Expand All @@ -52,7 +52,7 @@ jobs:
needs: [ci]
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Deploy (demo)
uses: nais/deploy/actions/deploy@v1
env:
Expand All @@ -64,7 +64,7 @@ jobs:
needs: [deploy-dev, deploy-demo]
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'dev_and_prod'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Deploy (prod)
uses: nais/deploy/actions/deploy@v1
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mr-veileder-flate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup frontend
uses: ./.github/actions/setup-frontend
- name: Lint
Expand All @@ -59,7 +59,7 @@ jobs:
id-token: "write" # Used to authenticate with Google Cloud
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup frontend
uses: ./.github/actions/setup-frontend
- name: Build
Expand All @@ -82,7 +82,7 @@ jobs:
id-token: "write" # Used to authenticate with Google Cloud
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup frontend
uses: ./.github/actions/setup-frontend
- name: Build
Expand All @@ -108,7 +108,7 @@ jobs:
id-token: "write" # Used to authenticate with Google Cloud
if: github.event_name == 'push' && github.ref_name == 'main' || github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'dev_and_prod'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup frontend
uses: ./.github/actions/setup-frontend
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sanity-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
permissions:
id-token: 'write' # Used to authenticate with Google Cloud
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unleash-apitoken.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint
uses: ./.github/actions/lint-yaml
with:
Expand All @@ -26,7 +26,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'main'
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: deploy to dev
uses: nais/deploy/actions/deploy@v1
env:
Expand Down

0 comments on commit 67c5d24

Please sign in to comment.