diff --git a/.github/hello-world.lua b/.github/hello-world.lua new file mode 100644 index 0000000..6657121 --- /dev/null +++ b/.github/hello-world.lua @@ -0,0 +1 @@ +print("Hello from GItHub Actions!") \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..43b2f7d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +name: Test evo-setup-action + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + gha-test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + + steps: + - name: Checkout Git repository + uses: actions/checkout@v3 + + - name: Set up Evo runtime + uses: evo-lua/evo-setup-action@main + with: + version: 'v0.0.3' + + - name: Run Lua script + run: | + evo .github/hello-world.lua + shell: bash