Skip to content

Commit a1e37d3

Browse files
committed
Extend PR check to test resolve-environment works with language alias
1 parent 0ac7669 commit a1e37d3

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

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

Lines changed: 22 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/resolve-environment-action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
name: "Resolve environment"
22
description: "Tests that the resolve-environment action works for Go"
3-
versions: ["stable-v2.13.4"]
3+
versions: ["stable-v2.13.4", "default", "latest", "nightly-latest"]
44
steps:
55
- uses: ./../action/init
66
with:
7-
languages: go
7+
languages: go,javascript-typescript
88
tools: ${{ steps.prepare-test.outputs.tools-url }}
99

1010
- uses: ./../action/resolve-environment
1111
id: resolve-environment
1212
with:
13-
language: go
13+
# Ensure resolve-environment does not error when we pass it a language alias that does not
14+
# have an identify-environment script.
15+
language: go,javascript-typescript
1416

1517
- name: "Fail if no Go configuration was returned"
1618
if: (!fromJSON(steps.resolve-environment.outputs.environment).configuration.go)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy