Skip to content
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
38 changes: 19 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Fetch up-cpp
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
path: up-cpp

Expand All @@ -34,7 +34,7 @@ jobs:
conan profile show

- name: Fetch up-core-api conan recipe
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
path: up-conan-recipes
repository: eclipse-uprotocol/up-conan-recipes
Expand All @@ -59,19 +59,19 @@ jobs:
conan cache save --file ./conan-cache.tgz '*'

- name: Upload build artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: build-artifacts
path: up-cpp/build/Release

- name: Upload compile commands
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: compile-commands
path: up-cpp/build/Release/compile_commands.json

- name: Upload conan cache for linting
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: conan-cache
path: ./conan-cache.tgz
Expand All @@ -83,7 +83,7 @@ jobs:

steps:
- name: Get build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: build-artifacts
path: up-cpp/build/Release
Expand All @@ -96,7 +96,7 @@ jobs:
ctest

- name: Upload test results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: success() || failure()
with:
name: test-results
Expand All @@ -110,7 +110,7 @@ jobs:

steps:
- name: Get build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: build-artifacts
path: up-cpp/build/Release
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
cat valgrind_logs/valgrind_memcheck_summary.log

- name: Upload Valgrind Memcheck logs
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: success() || failure()
with:
name: valgrind-memcheck-log
Expand All @@ -178,7 +178,7 @@ jobs:

steps:
- name: Get build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: build-artifacts
path: up-cpp/build/Release
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
cat valgrind_logs/valgrind_threadcheck_summary.log

- name: Upload Valgrind ThreadCheck logs
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: success() || failure()
with:
name: valgrind-threadcheck-log
Expand All @@ -247,7 +247,7 @@ jobs:

steps:
- name: Get build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: build-artifacts
path: up-cpp/build/Release
Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:
cat valgrind_logs/valgrind_helgrind_summary.log

- name: Upload Valgrind Helgrind logs
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: success() || failure()
with:
name: valgrind-helgrind-log
Expand All @@ -316,7 +316,7 @@ jobs:

steps:
- name: Get build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: build-artifacts
path: up-cpp/build/Release
Expand Down Expand Up @@ -372,7 +372,7 @@ jobs:
cat valgrind_logs/valgrind_dhat_summary.log

- name: Upload Valgrind DHAT logs
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: success() || failure()
with:
name: valgrind-dhat-log
Expand All @@ -388,7 +388,7 @@ jobs:

steps:
- name: Fetch up-cpp
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
path: up-cpp

Expand All @@ -406,7 +406,7 @@ jobs:
conan profile show

- name: Fetch up-core-api conan recipe
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
path: up-conan-recipes
repository: eclipse-uprotocol/up-conan-recipes
Expand All @@ -426,7 +426,7 @@ jobs:
- name: Run linters on source
continue-on-error: true
id: source-linter
uses: cpp-linter/cpp-linter-action@v2
uses: cpp-linter/cpp-linter-action@77c390c5ba9c947ebc185a3e49cc754f1558abb5 # v2.18.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -441,7 +441,7 @@ jobs:
- name: Run linters on tests
continue-on-error: true
id: test-linter
uses: cpp-linter/cpp-linter-action@v2
uses: cpp-linter/cpp-linter-action@77c390c5ba9c947ebc185a3e49cc754f1558abb5 # v2.18.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:
version: 2.3.2

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
path: up-cpp

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@d77b13a0df3134d64a457ea9003f600b09fa1c8a # v3.36.1
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand All @@ -60,7 +60,7 @@ jobs:

- if: matrix.build-mode == 'manual'
name: Fetch up-core-api conan recipe
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
path: up-conan-recipes
repository: eclipse-uprotocol/up-conan-recipes
Expand All @@ -82,7 +82,7 @@ jobs:
cmake --build . -- -j

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@d77b13a0df3134d64a457ea9003f600b09fa1c8a # v3.36.1
with:
category: "/language:${{matrix.language}}"
checkout_path: up-cpp
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
version: 2.3.2

- name: Fetch up-cpp
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
path: up-cpp

Expand All @@ -34,7 +34,7 @@ jobs:
run: sudo apt-get install -y gcovr

- name: Fetch up-core-api conan recipe
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
path: up-conan-recipes
repository: eclipse-uprotocol/up-conan-recipes
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:


- name: Upload coverage report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: success() || failure()
with:
name: coverage-report
Expand Down
Loading