17 lines
507 B
YAML
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
|