Skip to content

Commit

Permalink
Update codeql-analysis.yml (#209)
Browse files Browse the repository at this point in the history
* Update codeql-analysis.yml
  • Loading branch information
massdosage authored Mar 4, 2021
1 parent f56a280 commit e2b3bce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
CodeQL-Build:

runs-on: ubuntu-latest
runs-on: ubuntu-18.04

steps:
- name: Checkout repository
Expand All @@ -19,11 +19,11 @@ jobs:
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 8

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
Expand Down

0 comments on commit e2b3bce

Please sign in to comment.