mirror of
https://github.com/github/codeql-action.git
synced 2026-05-22 13:59:03 +00:00
30ecc82e64
Lists are easier to modify
29 lines
742 B
YAML
29 lines
742 B
YAML
name: "Swift analysis using autobuild"
|
|
description: "Tests creation of a Swift database using autobuild"
|
|
versions:
|
|
- nightly-latest
|
|
operatingSystems:
|
|
- macos
|
|
steps:
|
|
- uses: ./../action/init
|
|
id: init
|
|
with:
|
|
languages: swift
|
|
build-mode: autobuild
|
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
|
- name: Check working directory
|
|
run: pwd
|
|
- uses: ./../action/autobuild
|
|
timeout-minutes: 30
|
|
- uses: ./../action/analyze
|
|
id: analysis
|
|
with:
|
|
upload-database: false
|
|
- name: Check database
|
|
run: |
|
|
SWIFT_DB="${{ fromJson(steps.analysis.outputs.db-locations).swift }}"
|
|
if [[ ! -d "$SWIFT_DB" ]]; then
|
|
echo "Did not create a database for Swift."
|
|
exit 1
|
|
fi
|