There was an error while loading. Please reload this page.
1 parent 78d9191 commit a02cfd2Copy full SHA for a02cfd2
1 file changed
.github/workflows/build.yml
@@ -78,6 +78,16 @@ jobs:
78
codeql/codeql pack create ql/src --output target/packs
79
codeql/codeql pack create upgrades --output target/packs
80
cp -r ql/src/codeql-suites target/packs/github_codeql-ruby_*/
81
+ - name: Compile with previous CodeQL versions
82
+ run: |
83
+ for version in $(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -3 | head -2); do
84
+ rm -f codeql-linux64.zip
85
+ gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$version"
86
+ rm -rf codeql; unzip -q codeql-linux64.zip
87
+ codeql/codeql query compile target/packs/*
88
+ done
89
+ env:
90
+ GITHUB_TOKEN: ${{ github.token }}
91
- uses: actions/upload-artifact@v2
92
with:
93
name: codeql-ruby-queries
0 commit comments