Skip to content
Merged
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
24 changes: 12 additions & 12 deletions .github/workflows/ci-build-binary-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Restore vcpkg binary cache
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.cache/vcpkg/archives
key: vcpkg-linux-${{matrix.pkg.type}}-${{matrix.cpu.platform}}-${{hashFiles('vcpkg.json')}}
Expand All @@ -60,10 +60,10 @@ jobs:
- name: Package Pulsar source
run: build-support/generate-source-archive.sh

- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0

- name: Build dependencies Docker image
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: ./pkg/${{matrix.pkg.type}}
load: true
Expand All @@ -80,7 +80,7 @@ jobs:
run: zip -r ${{matrix.pkg.type}}-${{matrix.cpu.platform}}.zip ${{matrix.pkg.path}}

- name: Upload artifacts
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v7
with:
name: ${{matrix.pkg.type}}-${{matrix.cpu.platform}}
path: ${{matrix.pkg.path}}
Expand Down Expand Up @@ -111,10 +111,10 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Restore vcpkg and its artifacts.
uses: actions/cache@v3
uses: actions/cache@v6
id: vcpkg-cache
with:
path: |
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
run: 7z a -tzip pulsar-client-cpp-${{ matrix.triplet }}.zip ${{ env.INSTALL_DIR }}/*

- name: Upload artifacts
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.triplet }}
path: ${{ env.INSTALL_DIR }}
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
run: 7z a -tzip pulsar-client-cpp-${{ matrix.triplet }}-Debug.zip ${{ env.INSTALL_DIR }}-Debug/*

- name: Upload artifacts (Debug)
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.triplet }}-Debug
path: ${{ env.INSTALL_DIR }}-Debug
Expand All @@ -211,13 +211,13 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
fetch-depth: 0
submodules: recursive

- name: Restore vcpkg binary cache
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/Library/Caches/vcpkg/archives
key: vcpkg-macos-${{ matrix.arch }}-${{ hashFiles('vcpkg.json') }}
Expand All @@ -236,7 +236,7 @@ jobs:
cp macos-${{ matrix.arch }}.zip ../../../

- name: Upload artifacts
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v7
with:
name: macos-${{ matrix.arch }}.zip
path: macos-${{ matrix.arch }}.zip
36 changes: 18 additions & 18 deletions .github/workflows/ci-pr-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.11.0
uses: jidicula/clang-format-action@v4.18.0
with:
clang-format-version: '11'
exclude-regex: '.*\.(proto|hpp)'
Expand All @@ -52,7 +52,7 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Install deps (Ubuntu)
if: ${{ startsWith(matrix.os, 'ubuntu') }}
Expand Down Expand Up @@ -85,13 +85,13 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
fetch-depth: 0
submodules: recursive

- name: Restore vcpkg installed cache
uses: actions/cache@v4
uses: actions/cache@v6
id: vcpkg-cache
if: always() && steps.vcpkg-cache.outputs.cache-hit != 'true'
with:
Expand All @@ -100,7 +100,7 @@ jobs:
restore-keys: vcpkg-${{ runner.os }}-

- name: Restore vcpkg downloads cache
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: vcpkg/downloads
key: vcpkg-downloads-${{ runner.os }}-${{ hashFiles('vcpkg.json') }}
Expand Down Expand Up @@ -136,13 +136,13 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
fetch-depth: 0
submodules: recursive

- name: Restore vcpkg installed cache
uses: actions/cache@v4
uses: actions/cache@v6
id: vcpkg-cache
if: always() && steps.vcpkg-cache.outputs.cache-hit != 'true'
with:
Expand All @@ -153,7 +153,7 @@ jobs:
restore-keys: vcpkg-${{ runner.os }}-

- name: Restore vcpkg downloads cache
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: vcpkg/downloads
key: vcpkg-downloads-${{ runner.os }}-${{ hashFiles('vcpkg.json') }}
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
- name: Install deps
run: |
sudo apt-get update -y
Expand Down Expand Up @@ -259,12 +259,12 @@ jobs:
arch: '-A Win32'

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
submodules: true

- name: Restore vcpkg and its artifacts.
uses: actions/cache@v4
uses: actions/cache@v6
id: vcpkg-cache
if: always() && steps.vcpkg-cache.outputs.cache-hit != 'true'
with:
Expand Down Expand Up @@ -392,18 +392,18 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Set up QEMU
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a
uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0

- name: Package Pulsar source
run: build-support/generate-source-archive.sh

- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0

- name: Build dependencies Docker image
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: ./pkg/${{matrix.pkg.type}}
load: true
Expand All @@ -425,13 +425,13 @@ jobs:
needs: lint
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
fetch-depth: 0
submodules: recursive

- name: Restore vcpkg installed cache
uses: actions/cache@v4
uses: actions/cache@v6
id: vcpkg-cache
if: always() && steps.vcpkg-cache.outputs.cache-hit != 'true'
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
fetch-depth: 0
submodules: recursive

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}

Expand All @@ -68,6 +68,6 @@ jobs:
cmake --build . -j8

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
Loading