Compare commits

...

4 Commits

Author SHA1 Message Date
Dave Bartolomeo
2ad4e30d9c Include hidden files 2024-09-03 11:43:34 -04:00
Dave Bartolomeo
b42064cf20 No caching 2024-09-03 11:36:01 -04:00
Dave Bartolomeo
3e73f24a47 Use channel parameter 2024-09-03 11:01:58 -04:00
Dave Bartolomeo
252f55468b Add channel parameter 2024-09-03 10:42:58 -04:00

View File

@@ -26,7 +26,11 @@ on:
tag:
description: "Version tag to create"
required: false
channel:
description: Channel from which to download the CodeQL CLI (defaults to 'nightly')
required: false
default: nightly
env:
CARGO_TERM_COLOR: always
@@ -116,11 +120,8 @@ jobs:
- uses: actions/checkout@v4
- name: Fetch CodeQL
uses: ./.github/actions/fetch-codeql
- name: Cache compilation cache
id: query-cache
uses: ./.github/actions/cache-query-compilation
with:
key: ruby-build
channel: ${{ github.event.inputs.channel }}
- name: Build Query Pack
run: |
PACKS=${{ runner.temp }}/query-packs
@@ -140,6 +141,7 @@ jobs:
path: |
${{ runner.temp }}/query-packs/*
retention-days: 1
include-hidden-files: true
package:
runs-on: ubuntu-latest
@@ -176,6 +178,7 @@ jobs:
name: codeql-ruby-pack
path: ruby/codeql-ruby.zip
retention-days: 1
include-hidden-files: true
- uses: actions/download-artifact@v3
with:
name: codeql-ruby-queries
@@ -193,6 +196,7 @@ jobs:
name: codeql-ruby-bundle
path: ruby/codeql-ruby-bundle.zip
retention-days: 1
include-hidden-files: true
test:
defaults:
@@ -209,6 +213,8 @@ jobs:
- uses: actions/checkout@v4
- name: Fetch CodeQL
uses: ./.github/actions/fetch-codeql
with:
channel: ${{ github.event.inputs.channel }}
- name: Download Ruby bundle
uses: actions/download-artifact@v3