Skip to content

Commit a81a3d1

Browse files
authored
Merge pull request #29 from rodneylab/ci__update_ci_config
ci update ci config
2 parents c7c545c + 484befd commit a81a3d1

File tree

9 files changed

+30
-17
lines changed

9 files changed

+30
-17
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
if: runner.os == 'Linux'
2929
run: sudo apt-get update && sudo apt-get install libxrandr-dev libxcursor-dev libudev-dev libopenal-dev libflac-dev libvorbis-dev libgl1-mesa-dev libegl1-mesa-dev freeglut3-dev libxinerama-dev libxi-dev
3030
- name: Checkout
31-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
31+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
3232
- name: Setup Cpp
3333
uses: aminya/setup-cpp@290824452986e378826155f3379d31bce8753d76 # v0.37.0
3434
with:

.github/workflows/codeql.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,30 @@ jobs:
4343
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
4444
steps:
4545
- name: Checkout repository
46-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
46+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
4747
# Initializes the CodeQL tools for scanning.
4848
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
49+
uses: github/codeql-action/init@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
5050
with:
5151
languages: ${{ matrix.language }}
5252
# If you wish to specify custom queries, you can do so here or in a config file.
5353
# By default, queries listed here will override any specified in a config file.
5454
# Prefix the list here with "+" to use these queries and those in the config file.
5555
# If the Autobuild fails above, remove it and uncomment the following three lines.
5656
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
57+
- if: matrix.language == 'python'
58+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
59+
# queries: security-extended,security-and-quality
60+
61+
# ℹ️ Command-line programs to run using the OS shell.
62+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63+
64+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
65+
# If this step fails, then you should remove it and run the build manually (see below)
66+
# - name: Autobuild
67+
# uses: github/codeql-action/autobuild@v3
68+
name: Autobuild
69+
uses: github/codeql-action/autobuild@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
5770
- if: matrix.language == 'c-cpp'
5871
name: install
5972
run: sudo apt-get update && sudo apt-get install lcov libxrandr-dev libxcursor-dev libudev-dev libopenal-dev libflac-dev libvorbis-dev libgl1-mesa-dev libegl1-mesa-dev freeglut3-dev libxinerama-dev libxi-dev
@@ -65,6 +78,6 @@ jobs:
6578
cmake --build build --config Release
6679
cmake --install build --config Release
6780
- name: Perform CodeQL Analysis
68-
uses: github/codeql-action/analyze@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
81+
uses: github/codeql-action/analyze@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
6982
with:
7083
category: "/language:${{matrix.language}}"

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
egress-policy: audit
2121
disable-telemetry: true
2222
- name: 'Checkout Repository'
23-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
23+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
2424
- name: 'Dependency Review'
2525
uses: actions/dependency-review-action@0c155c5e8556a497adf53f2c18edabf945ed8e70 # v4.3.2

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
egress-policy: audit
1717
disable-telemetry: true
18-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
18+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
1919
- name: Setup Cpp
2020
uses: aminya/setup-cpp@290824452986e378826155f3379d31bce8753d76 # v0.37.0
2121
with:

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
with:
1616
egress-policy: audit
1717
disable-telemetry: true
18-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
18+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
1919
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
20-
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
20+
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
2121
with:
2222
go-version: '>=1.18.0'
2323
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

.github/workflows/scorecard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434
egress-policy: audit
3535
disable-telemetry: true
3636
- name: "Checkout code"
37-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
37+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
3838
with:
3939
persist-credentials: false
4040
- name: "Run analysis"
41-
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
41+
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
4242
with:
4343
results_file: results.sarif
4444
results_format: sarif
@@ -65,6 +65,6 @@ jobs:
6565
retention-days: 5
6666
# Upload the results to GitHub's code scanning dashboard.
6767
- name: "Upload to code-scanning"
68-
uses: github/codeql-action/upload-sarif@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
68+
uses: github/codeql-action/upload-sarif@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
6969
with:
7070
sarif_file: results.sarif

.github/workflows/ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
egress-policy: audit
1717
disable-telemetry: true
18-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
18+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
1919
- name: install
2020
run: sudo apt-get update && sudo apt-get install lcov libxrandr-dev libxcursor-dev libudev-dev libopenal-dev libflac-dev libvorbis-dev libgl1-mesa-dev libegl1-mesa-dev freeglut3-dev libxinerama-dev libxi-dev
2121
- name: Setup Cpp
@@ -44,6 +44,6 @@ jobs:
4444
run: |
4545
gcovr -r .. . --filter ../src/ --branch --cobertura > coverage.xml
4646
- name: Upload coverage reports to Codecov
47-
uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0
47+
uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # v4.3.1
4848
env:
4949
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
egress-policy: audit
1717
disable-telemetry: true
18-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
18+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
1919
- name: configure
2020
run: |
2121
cmake -H"." -Bbuild -T host=x86 -A x64 -DCMAKE_BUILD_TYPE="Debug"

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
stages:
66
- commit-msg
77
repo: https://github.com/commitizen-tools/commitizen
8-
rev: v3.24.0
8+
rev: v3.25.0
99
- hooks:
1010
- id: gitleaks
1111
repo: https://github.com/gitleaks/gitleaks
@@ -16,7 +16,7 @@ repos:
1616
- json
1717
id: clang-format
1818
repo: https://github.com/pre-commit/mirrors-clang-format
19-
rev: v18.1.4
19+
rev: v18.1.5
2020
- hooks:
2121
- args:
2222
- --markdown-linebreak-ext=md
@@ -31,4 +31,4 @@ repos:
3131
- hooks:
3232
- id: yamlfmt
3333
repo: https://github.com/google/yamlfmt
34-
rev: v0.11.0
34+
rev: v0.12.1

0 commit comments

Comments
 (0)