Skip to content

Commit 0b8c812

Browse files
committed
Add integration test for resolve-environment
1 parent 64fa96a commit 0b8c812

2 files changed

Lines changed: 89 additions & 0 deletions

File tree

.github/workflows/__resolve-environment-action.yml

Lines changed: 72 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "resolve-environment-action"
2+
description: "Tests that the resolve-environment action works for Go"
3+
versions: ["latest"]
4+
steps:
5+
- uses: ./../action/init
6+
with:
7+
languages: go
8+
tools: ${{ steps.prepare-test.outputs.tools-url }}
9+
10+
- uses: ./../action/resolve-environment
11+
id: resolve-environment
12+
with:
13+
language: go
14+
15+
- name: "Check that some Go configuration was returned"
16+
if: (!fromJSON(steps.resolve-environment.outputs.environment).configuration.go)
17+
run: exit 1

0 commit comments

Comments
 (0)