mirror of
https://github.com/github/codeql.git
synced 2026-02-07 18:51:06 +01:00
Update workflow files
This commit is contained in:
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@@ -68,7 +68,7 @@ jobs:
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: ql.dbscheme
|
||||
path: ruby
|
||||
path: ql
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: extractor-ubuntu-latest
|
||||
@@ -82,16 +82,16 @@ jobs:
|
||||
name: extractor-macos-latest
|
||||
path: osx64
|
||||
- run: |
|
||||
mkdir -p ruby
|
||||
cp -r codeql-extractor.yml tools ql/src/ql.dbscheme.stats ruby/
|
||||
mkdir -p ruby/tools/{linux64,osx64,win64}
|
||||
cp linux64/ql-extractor ruby/tools/linux64/extractor
|
||||
cp osx64/ql-extractor ruby/tools/osx64/extractor
|
||||
cp win64/ql-extractor.exe ruby/tools/win64/extractor.exe
|
||||
chmod +x ruby/tools/{linux64,osx64}/extractor
|
||||
zip -rq codeql-ruby.zip ruby
|
||||
mkdir -p ql
|
||||
cp -r codeql-extractor.yml tools ql/src/ql.dbscheme.stats ql/
|
||||
mkdir -p ql/tools/{linux64,osx64,win64}
|
||||
cp linux64/ql-extractor ql/tools/linux64/extractor
|
||||
cp osx64/ql-extractor ql/tools/osx64/extractor
|
||||
cp win64/ql-extractor.exe ql/tools/win64/extractor.exe
|
||||
chmod +x ql/tools/{linux64,osx64}/extractor
|
||||
zip -rq codeql-ql.zip ql
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: codeql-ruby-pack
|
||||
path: codeql-ruby.zip
|
||||
name: codeql-ql-pack
|
||||
path: codeql-ql.zip
|
||||
retention-days: 1
|
||||
|
||||
4
.github/workflows/dataset_measure.yml
vendored
4
.github/workflows/dataset_measure.yml
vendored
@@ -50,12 +50,12 @@ jobs:
|
||||
codeql/codeql database create \
|
||||
--search-path "${{ github.workspace }}" \
|
||||
--threads 4 \
|
||||
--language ruby --source-root "${{ github.workspace }}/repo" \
|
||||
--language ql --source-root "${{ github.workspace }}/repo" \
|
||||
"${{ runner.temp }}/database"
|
||||
- name: Measure database
|
||||
run: |
|
||||
mkdir -p "stats/${{ matrix.repo }}"
|
||||
codeql/codeql dataset measure --threads 4 --output "stats/${{ matrix.repo }}/stats.xml" "${{ runner.temp }}/database/db-ruby"
|
||||
codeql/codeql dataset measure --threads 4 --output "stats/${{ matrix.repo }}/stats.xml" "${{ runner.temp }}/database/db-ql"
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: measurements
|
||||
|
||||
17
.github/workflows/sync_files.yml
vendored
17
.github/workflows/sync_files.yml
vendored
@@ -1,17 +0,0 @@
|
||||
name: Check synchronized files
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Check synchronized files
|
||||
run: scripts/sync-identical-files.py
|
||||
Reference in New Issue
Block a user