Skip to content

Commit

Permalink
Align CI scripts to new actions versions
Browse files Browse the repository at this point in the history
Many actions were using outdated dependencies, which I am trying
to update with this commit.

Signed-off-by: Alessandro Pellegrini <a.pellegrini@ing.uniroma2.it>
  • Loading branch information
alessandropellegrini committed Jul 23, 2024
1 parent ac2b4e8 commit 7f25ff5
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
type: Release
steps:
- name: Checkpout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Initialize Environment
uses: ROOT-Sim/ci-actions/init@v1.2
- name: Build & Test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codacy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@v4.1.0
with:
Expand All @@ -31,6 +31,6 @@ jobs:
gh-code-scanning-compat: true
max-allowed-issues: 2147483647
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
5 changes: 3 additions & 2 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch ROOT-Sim repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Initialize Environment
uses: ROOT-Sim/ci-actions/init@v1.2
- name: Build & Test
Expand All @@ -25,7 +25,8 @@ jobs:
- name: Generate coverage report
run: find ${{ runner.workspace }}/build/ -name "*.gcda" -exec gcov -abcfu {} \;
- name: Upload coverage report
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
language: [ 'cpp', 'python' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Initialize Environment
Expand All @@ -40,4 +40,4 @@ jobs:
build-type: Debug
run-test: false
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
8 changes: 4 additions & 4 deletions .github/workflows/doc_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
doc_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v1
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Initialize Environment
uses: ROOT-Sim/ci-actions/init@v1.2
- name: Generate Documentation
Expand All @@ -24,11 +24,11 @@ jobs:
with:
build-path: docs
- name: Comment PR
uses: actions/github-script@v3
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.issues.createComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkpout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: REUSE check
uses: ROOT-Sim/ci-actions/reuse-check@v1.2
29 changes: 0 additions & 29 deletions .github/workflows/website.yml

This file was deleted.

0 comments on commit 7f25ff5

Please sign in to comment.