codeql-action/pr-checks/checks/resolve-environment-action.yml
Michael B. Gale 8e75e1a14d
Apply suggestions from code review
Co-authored-by: Henry Mercer <henry.mercer@me.com>
2023-06-13 20:45:59 +01:00

17 lines
507 B
YAML

name: "Resolve environment"
description: "Tests that the resolve-environment action works for Go"
versions: ["nightly-latest"]
steps:
- uses: ./../action/init
with:
languages: go
tools: ${{ steps.prepare-test.outputs.tools-url }}
- uses: ./../action/resolve-environment
id: resolve-environment
with:
language: go
- name: "Check that some Go configuration was returned"
if: (!fromJSON(steps.resolve-environment.outputs.environment).configuration.go)
run: exit 1