-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (38 loc) · 1.15 KB
/
localenv-ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: LocalEnv CI
on:
workflow_dispatch:
pull_request:
branches: ['main']
paths:
- 'config.yaml'
- '.github/workflows/localenv-ci.yml'
- 'localenv'
- 'env/*'
# Abort the previous running CI workflow in the same pull request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Verify local env execution - python
run: |
./localenv python env/python/demo.py
- name: Verify local env execution - powershell
run: |
./localenv powershell env/powershell/demo.ps1
- name: Verify local env execution - groovy
run: |
./localenv groovy env/groovy/demo.groovy
- name: Verify local env execution - javascript
run: |
./localenv javascript env/javascript/demo.js
- name: Verify local env execution - golang
run: |
./localenv golang env/golang/demo.go
- name: Verify local env execution - java
run: |
./localenv java env/java/demo.java