Skip to content

Commit 0eacdb5

Browse files
Support Swift for private beta (#1350)
Co-authored-by: Henry Mercer <[email protected]>
1 parent af487b1 commit 0eacdb5

File tree

21 files changed

+664
-5
lines changed

21 files changed

+664
-5
lines changed

.github/workflows/__ruby-autodetect.yml

Lines changed: 70 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__test-ruby.yml renamed to .github/workflows/__ruby.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__swift-autobuild.yml

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__swift-custom-build.yml

Lines changed: 75 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/codeql.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/codeql.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/count-loc.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/count-loc.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/ruby-autodetect.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This check should be combined into `multi-language-autodetect.yml` once Ruby is GA'ed
2+
# and the `CODEQL_ENABLE_EXPERIMENTAL_FEATURES` environment variable is not needed.
3+
name: "Ruby analysis using autodetect"
4+
description: "Tests creation of a Ruby database when language isn't specified in init"
5+
versions: ["latest", "cached", "nightly-latest"]
6+
operatingSystems: ["ubuntu", "macos"]
7+
env:
8+
CODEQL_ENABLE_EXPERIMENTAL_FEATURES: "true"
9+
steps:
10+
- uses: ./../action/init
11+
with:
12+
tools: ${{ steps.prepare-test.outputs.tools-url }}
13+
env:
14+
TEST_MODE: true
15+
- uses: ./../action/analyze
16+
id: analysis
17+
env:
18+
TEST_MODE: true
19+
- name: Check database
20+
shell: bash
21+
run: |
22+
RUBY_DB="${{ fromJson(steps.analysis.outputs.db-locations).ruby }}"
23+
if [[ ! -d "$RUBY_DB" ]]; then
24+
echo "Did not create a database for Ruby."
25+
exit 1
26+
fi

0 commit comments

Comments
 (0)