Update codeql-analysis.yml

Thought it was going to be straight - if it doesn't work this way will revert and do tests in forked repo
This commit is contained in:
Carlos Ruiz 2020-10-01 15:21:47 +02:00 committed by GitHub
parent 8fa3ebf286
commit a18a861c5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -14,6 +14,9 @@ on:
schedule:
- cron: '0 7 * * 4'
env:
java: 11
jobs:
analyze:
name: Analyze
@ -29,6 +32,13 @@ jobs:
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
steps:
# Install Java 14
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: '${{ env.java }}'
- name: Checkout repository
uses: actions/checkout@v2
with: