Add java to LocalEnv support list #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |