mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 01:00:20 +08:00
21 lines
590 B
YAML
21 lines
590 B
YAML
name: "Ruby analysis"
|
|
description: "Tests creation of a Ruby database"
|
|
versions: ["linked", "default", "nightly-latest"]
|
|
operatingSystems: ["ubuntu", "macos"]
|
|
steps:
|
|
- uses: ./../action/init
|
|
with:
|
|
languages: ruby
|
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
|
- uses: ./../action/analyze
|
|
id: analysis
|
|
with:
|
|
upload-database: false
|
|
- name: Check database
|
|
run: |
|
|
RUBY_DB="${{ fromJson(steps.analysis.outputs.db-locations).ruby }}"
|
|
if [[ ! -d "$RUBY_DB" ]]; then
|
|
echo "Did not create a database for Ruby."
|
|
exit 1
|
|
fi
|