Skip to content

feature: Support for ReturnStmt statement (#180) #438

feature: Support for ReturnStmt statement (#180)

feature: Support for ReturnStmt statement (#180) #438

Workflow file for this run

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 }}