Enable GitHub Action workflow to build and deploy to LuaRocks (PR #97) #13
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: build | |
on: | |
push: | |
branches: [ "master", "main" ] | |
pull_request: | |
branches: [ "master", "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
LUA_ROCKS_API_KEY: ${{ secrets.LUA_ROCKS_API_KEY }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build the Docker image | |
run: docker-compose build test | |
- name: Run tests | |
run: docker-compose run --rm test |