|
|
|
@ -41,21 +41,21 @@ jobs: |
|
|
|
|
|
|
|
steps: |
|
|
|
- name: Harden Runner |
|
|
|
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 |
|
|
|
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 |
|
|
|
with: |
|
|
|
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs |
|
|
|
|
|
|
|
- name: Checkout repository |
|
|
|
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 |
|
|
|
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 |
|
|
|
|
|
|
|
- name: Install Protoc |
|
|
|
uses: arduino/setup-protoc@149f6c87b92550901b26acd1632e11c3662e381f # v1.3.0 |
|
|
|
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 |
|
|
|
with: |
|
|
|
version: '3.x' |
|
|
|
|
|
|
|
# Initializes the CodeQL tools for scanning. |
|
|
|
- name: Initialize CodeQL |
|
|
|
uses: github/codeql-action/init@5b6282e01c62d02e720b81eb8a51204f527c3624 # v2.21.3 |
|
|
|
uses: github/codeql-action/init@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6 |
|
|
|
with: |
|
|
|
languages: ${{ matrix.language }} |
|
|
|
# If you wish to specify custom queries, you can do so here or in a config file. |
|
|
|
@ -65,7 +65,7 @@ jobs: |
|
|
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). |
|
|
|
# If this step fails, then you should remove it and run the build manually (see below) |
|
|
|
- name: Autobuild |
|
|
|
uses: github/codeql-action/autobuild@5b6282e01c62d02e720b81eb8a51204f527c3624 # v2.21.3 |
|
|
|
uses: github/codeql-action/autobuild@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6 |
|
|
|
|
|
|
|
# ℹ️ Command-line programs to run using the OS shell. |
|
|
|
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun |
|
|
|
@ -78,6 +78,6 @@ jobs: |
|
|
|
# ./location_of_script_within_repo/buildscript.sh |
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis |
|
|
|
uses: github/codeql-action/analyze@5b6282e01c62d02e720b81eb8a51204f527c3624 # v2.21.3 |
|
|
|
uses: github/codeql-action/analyze@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6 |
|
|
|
with: |
|
|
|
category: "/language:${{matrix.language}}" |