mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Ruby: update dependencies
This commit is contained in:
5
.github/workflows/ruby-build.yml
vendored
5
.github/workflows/ruby-build.yml
vendored
@@ -96,8 +96,8 @@ jobs:
|
|||||||
- name: Build Query Pack
|
- name: Build Query Pack
|
||||||
run: |
|
run: |
|
||||||
codeql pack create ../shared/ssa --output target/packs
|
codeql pack create ../shared/ssa --output target/packs
|
||||||
|
codeql pack create ../misc/suite-helpers --output target/packs
|
||||||
codeql pack create ql/lib --output target/packs
|
codeql pack create ql/lib --output target/packs
|
||||||
codeql pack install ql/src
|
|
||||||
codeql pack create ql/src --output target/packs
|
codeql pack create ql/src --output target/packs
|
||||||
PACK_FOLDER=$(readlink -f target/packs/codeql/ruby-queries/*)
|
PACK_FOLDER=$(readlink -f target/packs/codeql/ruby-queries/*)
|
||||||
codeql generate query-help --format=sarifv2.1.0 --output="${PACK_FOLDER}/rules.sarif" ql/src
|
codeql generate query-help --format=sarifv2.1.0 --output="${PACK_FOLDER}/rules.sarif" ql/src
|
||||||
@@ -202,13 +202,14 @@ jobs:
|
|||||||
echo 'name: sample-tests
|
echo 'name: sample-tests
|
||||||
version: 0.0.0
|
version: 0.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
codeql/ruby-all: 0.0.1
|
codeql/ruby-all: "*"
|
||||||
extractor: ruby
|
extractor: ruby
|
||||||
tests: .
|
tests: .
|
||||||
' > qlpack.yml
|
' > qlpack.yml
|
||||||
- name: Run QL test
|
- name: Run QL test
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
codeql pack install .
|
||||||
codeql test run --search-path "${{ runner.temp }}/ruby-bundle" --additional-packs "${{ runner.temp }}/ruby-bundle" .
|
codeql test run --search-path "${{ runner.temp }}/ruby-bundle" --additional-packs "${{ runner.temp }}/ruby-bundle" .
|
||||||
- name: Create database
|
- name: Create database
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
---
|
---
|
||||||
dependencies: {}
|
dependencies:
|
||||||
|
codeql/ssa:
|
||||||
|
version: 0.0.1
|
||||||
compiled: false
|
compiled: false
|
||||||
lockVersion: 1.0.0
|
lockVersion: 1.0.0
|
||||||
|
|||||||
@@ -2,5 +2,7 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
codeql/suite-helpers:
|
codeql/suite-helpers:
|
||||||
version: 0.0.2
|
version: 0.0.2
|
||||||
|
codeql/ssa:
|
||||||
|
version: 0.0.1
|
||||||
compiled: false
|
compiled: false
|
||||||
lockVersion: 1.0.0
|
lockVersion: 1.0.0
|
||||||
|
|||||||
4
shared/ssa/codeql-pack.lock.yml
Normal file
4
shared/ssa/codeql-pack.lock.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
dependencies: {}
|
||||||
|
compiled: false
|
||||||
|
lockVersion: 1.0.0
|
||||||
Reference in New Issue
Block a user