Fix use of disallowed internal std library functions in go 1.23 #466
Workflow file for this run
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: Go | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
build_tags: | |
- 'dummytagforwindows' # Non existent tag because windows shell drops empty arguments | |
- 'noquotas' | |
- 'nocontpool noregpool' | |
- 'noquotas nocontpool noregpool' | |
- 'safepool' | |
os: | |
- ubuntu-latest | |
- macOS-latest | |
- windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23 | |
- name: All tests | |
run: go test -tags "${{ matrix.build_tags }}" -coverprofile="coverage.txt" -covermode=atomic ./... | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
files: ./coverage.txt | |
name: codecov-all-tests | |
verbose: true | |
- name: Build CLI | |
run: go build -tags "${{ matrix.build_tags }}" | |
- name: Check out Lua Test Suite 5.4.3 | |
uses: actions/checkout@v4 | |
with: | |
repository: arnodel/golua-tests | |
ref: golua-5.4 | |
path: ./lua-test-suite | |
- name: Run Lua Test Suite | |
run: ../golua -u -e "_U=true" -e "_OS='${{ matrix.os }}'" all.lua | |
working-directory: ./lua-test-suite |