test: add more test case for recursive functions #232
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: Glox CI | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
defaults: | |
run: | |
working-directory: ./glox/ | |
jobs: | |
analyze_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.20.0' | |
check-latest: true | |
- run: go version | |
- name: Format | |
run: go fmt ./... | |
- name: Static Analysis | |
run: go vet ./... | |
- name: Test | |
run: go test ./... -v |