X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/9da42e27f1b789cdd94c56a1b57e01f9614b71a7..5351445fc51dc0eacc4242cfa92bc41a346a6f25:/.github/workflows/codeql-analysis.yml?ds=sidebyside diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 25bcc265..f778268a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,6 +9,10 @@ on: schedule: - cron: '0 7 * * 4' +permissions: + contents: read # to fetch code (actions/checkout) + security-events: write + jobs: analyse: name: Analyse @@ -19,11 +23,11 @@ jobs: - name: Setup Java JDK uses: actions/setup-java@v3 with: - distribution: 'adopt' - java-version: 17 + distribution: 'zulu' + java-version: 21 - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. @@ -31,7 +35,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 # Override language selection by uncommenting this and choosing your languages # with: # languages: go, javascript, csharp, python, cpp, java @@ -39,7 +43,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@v2 + uses: github/codeql-action/autobuild@v3 # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -53,4 +57,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3