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

Versions of Github actions updated #53

Merged
merged 2 commits into from
Apr 24, 2024
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
12 changes: 6 additions & 6 deletions .github/workflows/build_and_deploy_gh_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Wait for coverage report generation
uses: lewagon/[email protected].3
uses: lewagon/[email protected].4
with:
ref: ${{ github.ref }}
check-name: 'Build and test build_ut'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 20

- name: Download Coverage Report
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
workflow: build_ut.yml
workflow_conclusion: success
Expand All @@ -71,13 +71,13 @@ jobs:
run: cp docs/index.html build/gh_pages

- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: 'build/gh_pages'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
18 changes: 9 additions & 9 deletions .github/workflows/build_ut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# Setup github for python 3.8
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:

# Upload logs on failure
- name: Upload logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
Expand All @@ -112,15 +112,15 @@ jobs:

# Upload coverage report on success
- name: Upload Coverage Report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: coverage_report
path: build/gh_pages/coverage_report

# Upload coverage statistics on success
- name: Upload Coverage Statistics
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: coverage_report_stats
Expand All @@ -140,18 +140,18 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# Download the current coverage statistics
- name: Download Current Coverage Statistics
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: coverage_report_stats
path: build

# Download current master coverage statistics
- name: Download Master Coverage Statistics
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
if: ${{ success() && github.ref != 'refs/heads/master' }}
with:
workflow_conclusion: success
Expand All @@ -177,7 +177,7 @@ jobs:
# Create comment with coverage info
- name: Create Coverage Comment
if: ${{ (success() || failure()) && github.ref != 'refs/heads/master' }}
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body: ${{ steps.get-comment-body.outputs.body }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# Setup github for python 3.8
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:

# Upload logs on failure
- name: Upload logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
sudo apt-get install cppcheck

- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# Run the build script and output errors to file
# Proccess returns error if failure detected
Expand All @@ -52,7 +52,7 @@ jobs:

# Upload logs on failure
- name: Upload logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: cppcheck_result
Expand All @@ -72,8 +72,7 @@ jobs:
# Create comment with coverage info
- name: Create Comment
if: ${{ failure() && github.ref != 'refs/heads/master' }}
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body: ${{ steps.get-comment-body.outputs.body }}

6 changes: 3 additions & 3 deletions .github/workflows/cpplint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# Setup github for python 3.8
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand All @@ -79,7 +79,7 @@ jobs:

# Upload logs on failure
- name: Upload logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: rialto-ocdm

- name: Check out test scripts from rialto
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: rdkcentral/rialto
path: ./rialto
Expand All @@ -45,7 +45,7 @@ jobs:

# Setup github for python 3.8
- name: setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/native_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: rialto-ocdm

- name: Check out rialto
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: rdkcentral/rialto
path: ./rialto
Expand Down Expand Up @@ -89,9 +89,9 @@ jobs:
exit 0

- name: Upload Logs on Failure
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: Output Logs
path: |
output_file.txt
output_file.txt
7 changes: 3 additions & 4 deletions .github/workflows/valgrind_ut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# Apt update
- name: Apt update
Expand All @@ -62,7 +62,7 @@ jobs:

# Setup github for python 3.8
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down Expand Up @@ -129,11 +129,10 @@ jobs:

# Upload logs on failure
- name: Upload logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
path: |
gtest_result.log
build/*valgrind_report.xml

Loading