Skip to content

Commit

Permalink
workflows: bump actions/checkout from 3 to 4 (#7894)
Browse files Browse the repository at this point in the history
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 5, 2023
1 parent c625ad7 commit 12e67d9
Show file tree
Hide file tree
Showing 20 changed files with 53 additions and 53 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-legacy-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
packages: write
steps:
- name: Checkout the docker build repo for legacy builds
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: fluent/fluent-bit-docker-image
ref: "1.8" # Fixed to this branch
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/call-build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
debug-digest: ${{ steps.debug_build_push.outputs.digest }}
steps:
- name: Checkout code for modern style builds
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -297,7 +297,7 @@ jobs:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/call-build-linux-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
path: source
Expand All @@ -87,7 +87,7 @@ jobs:
# Pick up latest master version
- name: Checkout code for action
if: inputs.environment == 'staging'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: action-support

Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
continue-on-error: ${{ inputs.ignore_failing_targets || false }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
# Pick up latest master version
- name: Checkout code for action
if: inputs.environment == 'staging'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: action-support

Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
sudo apt-get install -y createrepo-c aptly awscli
- name: Checkout code for repo metadata construction - always latest
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Import GPG key for signing
id: import_gpg
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/call-build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand All @@ -72,7 +72,7 @@ jobs:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/call-build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
armSupported: ${{ steps.armcheck.outputs.armSupported }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
PATH: C:\ProgramData\Chocolatey\bin;c:/Program Files/Git/cmd;c:/Windows/system32;C:/Windows/System32/WindowsPowerShell/v1.0;$ENV:WIX/bin;C:/Program Files/CMake/bin;C:\vcpkg;
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Need latest for checksum packaging script
ref: master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call-integration-image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
packages: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/call-run-integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
gke-cluster-region: ${{ steps.gke-cluster-region.outputs.stdout }}
gke-cluster-zone: ${{ steps.gke-cluster-zone.outputs.stdout }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
repository: fluent/fluent-bit-ci
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
- name: Test image exists and cache locally
run: docker pull ${{ inputs.image_name }}:${{ inputs.image_tag }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
repository: fluent/fluent-bit-ci
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
env:
USE_GKE_GCLOUD_AUTH_PLUGIN: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
repository: fluent/fluent-bit-ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call-test-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
arch: [ linux/amd64, linux/arm64, linux/arm/v7 ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-test-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
distro: [ amazonlinux2022, amazonlinux2, centos7, centos8, debian10, debian11, ubuntu1804, ubuntu2004, ubuntu2204 ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get the version
id: get_version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cron-scorecards-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
id-token: write
steps:
- name: "Checkout code"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cron-unstable-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
contents: read
steps:
- name: Checkout repository, always latest for action
uses: actions/checkout@v3
uses: actions/checkout@v4

# Set up the list of target to build so we can pass the JSON to the reusable job
- uses: ./.github/actions/generate-package-build-matrix
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
steps:
# Required to make a release later
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download all artefacts
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-compile-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout Fluent Bit code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-image-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# We do not push and this allows simpler workflow running for forks too
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build the classic test image
# We only want to confirm it builds with classic mode, nothing else
Expand All @@ -96,7 +96,7 @@ jobs:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Extract metadata from Github
id: meta
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-install-script.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout Fluent Bit code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run install tests
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
name: PR - Hadolint
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Ignores do not work: https://github.com/reviewdog/action-hadolint/issues/35 is resolved
- uses: reviewdog/action-hadolint@v1
with:
Expand All @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
name: PR - Shellcheck
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ludeeus/action-shellcheck@master
with:
ignore_paths: cmake/sanitizers-cmake lib plugins tests
Expand All @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
name: PR - Actionlint
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
echo "::add-matcher::.github/actionlint-matcher.json"
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-package-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
contents: read
steps:
- name: Checkout repository, always latest for action
uses: actions/checkout@v3
uses: actions/checkout@v4

# Set up the list of target to build so we can pass the JSON to the reusable job
- uses: ./.github/actions/generate-package-build-matrix
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
build-matrix: ${{ steps.set-matrix.outputs.build-matrix }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
# Set up the list of target to build so we can pass the JSON to the reusable job
- uses: ./.github/actions/generate-package-build-matrix
id: set-matrix
Expand Down
Loading

0 comments on commit 12e67d9

Please sign in to comment.