Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows: bump actions/checkout from 2 to 3 #5

Closed
Closed
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
6 changes: 3 additions & 3 deletions .github/workflows/1.7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
docker_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: calyptia/fluent-bit-ci
path: ci
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
k8s-release: [ '1.19' ] #, '1.20' ] #, 1.19/stable, 1.18/stable ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: calyptia/fluent-bit-ci
path: ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/1.8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
docker_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: calyptia/fluent-bit-ci
path: ci
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
k8s-release: [ '1.19' ] #, '1.20' ] #, 1.19/stable, 1.18/stable ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: calyptia/fluent-bit-ci
path: ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark-run-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
k8s-release: [ '1.21' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: calyptia/fluent-bit-ci
path: ci
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 @@ -82,7 +82,7 @@ jobs:
suffix: arm64v8
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
- call-build-images-matrix
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
needs: call-build-images-get-tarball
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call-build-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
matrix: ${{ fromJSON(inputs.build_matrix) }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
sudo apt-get install -y createrepo aptly

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Import GPG key for signing
id: import_gpg
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 @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
environment: ${{ inputs.environment }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/login-action@v1
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 @@ -126,7 +126,7 @@ jobs:
arch: [ linux/amd64, linux/arm64, linux/arm/v7 ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/login-action@v1
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Create k8s Kind Cluster
uses: helm/[email protected]
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 @@ -32,7 +32,7 @@ jobs:
distro: [ amazonlinux2, centos7, centos8, debian10, debian11, ubuntu1804, ubuntu2004 ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- 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 @@ -25,7 +25,7 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false

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 @@ -19,7 +19,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout Fluent Bit code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-image-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
environment: pr
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
suffix: arm64v8
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
name: PR - Hadolint
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# Ignores do not work: https://github.com/reviewdog/action-hadolint/issues/35 is resolved
- uses: reviewdog/action-hadolint@v1
with:
Expand All @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
name: PR - Shellcheck
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ludeeus/action-shellcheck@master
with:
ignore_paths: lib plugins tests
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
name: PR - Actionlint
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: |
echo "::add-matcher::.github/actionlint-matcher.json"
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
Expand All @@ -43,7 +43,7 @@ jobs:
name: PR - Reusable workflow linting
steps:
# We probably should target this on only workflow changes but the complexity of doing that is a lot more than just letting the grep run.
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# Recursive grep or any workflow using a local reusable workflow but not ending in @master
- run: |
if [[ $(grep -R -E 'uses:[ ]*fluent/fluent-bit/.github/workflows/.*@[^master].*$' .github/workflows/*.y*ml| wc -l) -gt 0 ]]; then
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 @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/remove-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
environment: release
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup runner
run: |
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
environment: release
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: ./.github/actions/release-server-sync
with:
bucket: ${{ secrets.AWS_S3_BUCKET_RELEASE }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/staging-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
needs: staging-release-version-check
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup runner
run: |
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
environment: release
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- uses: ./.github/actions/release-server-sync
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
sudo apt install -yyq gcc-7 g++-7 clang-6.0 libsystemd-dev gcovr
sudo ln -s /usr/bin/llvm-symbolizer-6.0 /usr/bin/llvm-symbolizer || true

- uses: actions/checkout@v2
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: calyptia/fluent-bit-ci
path: ci
Expand Down