Add integration test for resolve-environment

This commit is contained in:
Michael B. Gale 2023-06-13 16:18:45 +01:00
parent 64fa96a8b3
commit 0b8c8128cf
No known key found for this signature in database
GPG key ID: FF5E2765BD00628F
2 changed files with 89 additions and 0 deletions

View file

@ -0,0 +1,17 @@
name: "resolve-environment-action"
description: "Tests that the resolve-environment action works for Go"
versions: ["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