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

Update GitHub Actions Third-Party Action Versions #45

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
options: "--user root"
steps:
- name: checkout code
uses: actions/checkout@v2 # This action to checkout the code
uses: actions/checkout@v4 # This action to checkout the code
- name: Install Deps
run: |
apt update
Expand All @@ -26,7 +26,7 @@ jobs:
sudo apt-get -y update
sudo apt-get -y install docker-ce
- name: set up Cmake
uses: jwlawson/actions-setup-cmake@v1.13 # this action is used to setup and install Cmake with required versions
uses: jwlawson/actions-setup-cmake@v2 # this action is used to setup and install Cmake with required versions
with:
cmake-version: '3.16'
- name: install g++
Expand All @@ -43,7 +43,7 @@ jobs:
cmake --build _cmake_build
cmake --build _cmake_build --target install
- name: Install sonar-scanner and build-wrapper
uses: sonarsource/sonarcloud-github-c-cpp@v2 # This Action Installs sonar cloud and build wrapper to run sonar scan analysis
uses: sonarsource/sonarcloud-github-c-cpp@v3 # This Action Installs sonar cloud and build wrapper to run sonar scan analysis
- name: Build and Generate test coverage
run: |
cd $GITHUB_WORKSPACE
Expand All @@ -57,13 +57,13 @@ jobs:
gcov $GITHUB_WORKSPACE/cv-lib/src/*.cpp --object-directory /__w/jpo-cvdp/jpo-cvdp/build/cv-lib/CMakeFiles/CVLib.dir/src/
gcov $GITHUB_WORKSPACE/src/*.cpp --object-directory /__w/jpo-cvdp/jpo-cvdp/build/CMakeFiles/ppm_tests.dir/src/
- name: Archive code coverage results
uses: actions/upload-artifact@v3 # This action is used to capture the test artifacts and exits if no files are found
uses: actions/upload-artifact@v4 # This action is used to capture the test artifacts and exits if no files are found
with:
name: jpo-cvdp
path: /__w/jpo-cvdp/jpo-cvdp/coverage/
if-no-files-found: error
- name: Archive buildwrapper output
uses: actions/upload-artifact@v3 # This action is used to capture the builwrapper output files used by sonarscan.
uses: actions/upload-artifact@v4 # This action is used to capture the builwrapper output files used by sonarscan.
with:
name: jpo-cvdp
path: /home/runner/work/jpo-cvdp/jpo-cvdp/bw-output
Expand Down
Loading