feature: 🍺 Support for BlockStmt
statement
#439
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: Build and Test | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22.0' | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Get dependencies | |
run: | | |
cd sourcecode-parser | |
go mod download | |
- name: Build | |
run: | | |
cd sourcecode-parser | |
go build -o pathfinder | |
- name: Test | |
run: | | |
cd sourcecode-parser | |
go test -v ./... -coverprofile=coverage.out -covermode=atomic | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |