1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-29 01:58:26 +00:00

Run apt update first

This commit is contained in:
Brenden Matthews 2024-02-26 13:33:49 -05:00
parent 91f7ac8edc
commit e748612f76
No known key found for this signature in database
GPG Key ID: 137B7AC2BDFD8DF0

View File

@ -1,8 +1,8 @@
name: 'CodeQL'
name: "CodeQL"
on:
schedule:
- cron: '20 2 * * 0'
- cron: "20 2 * * 0"
jobs:
analyze:
@ -16,13 +16,14 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ['cpp', 'javascript', 'python']
language: ["cpp", "javascript", "python"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- run: sudo apt-get -qq update
- name: Install dependencies
if: matrix.language == 'cpp'
run: |
@ -73,7 +74,6 @@ jobs:
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# 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
# queries: security-extended,security-and-quality
@ -85,4 +85,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: '/language:${{matrix.language}}'
category: "/language:${{matrix.language}}"