Skip to content

Merge pull request #214 from covalenthq/develop #505

Merge pull request #214 from covalenthq/develop

Merge pull request #214 from covalenthq/develop #505

Workflow file for this run

name: build-test
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
- "develop"
jobs:
audit:
runs-on: ubuntu-20.04
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22.5
- name: Checkout code
uses: actions/checkout@v2
- name: Verify dependencies
run: go mod verify
- name: Build all
run: make all
- name: Run tests
run: make test
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
- name: Clean
run: make clean