Skip to content

Check Dependencies in Workflow #4

Check Dependencies in Workflow

Check Dependencies in Workflow #4

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
test-packages:
name: Test Packages
runs-on: ubuntu-latest
steps:
- name: Check Out
uses: actions/checkout@v4.1.7
- name: Setup Go
uses: actions/setup-go@v5.0.1
with:
go-version: stable
- name: Run Tests
run: go test -v ./... -coverprofile=.cover.out -covermode=atomic -coverpkg=./...
- name: Check Coverage
uses: vladopajic/go-test-coverage@v2.10.1
with:
profile: .cover.out
threshold-file: 100
threshold-package: 100
threshold-total: 100