Skip to content

feat: Add support for Go callgraph processing (#43) #154

feat: Add support for Go callgraph processing (#43)

feat: Add support for Go callgraph processing (#43) #154

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
run-test:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- name: Checkout Source
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
with:
go-version-file: "go.mod"
check-latest: true
- name: Install dependencies
run: go mod download
- name: Run Tests
run: go test -coverprofile=coverage.txt -v ./...
- name: Run Examples
run: bash scripts/run_examples.sh
- name: Upload Coverage
if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || github.event_name == 'push'
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5
with:
token: ${{ secrets.CODECOV_TOKEN }}