Skip to content

Merge pull request #284 from goharbor/dependabot/go_modules/github.co… #791

Merge pull request #284 from goharbor/dependabot/go_modules/github.co…

Merge pull request #284 from goharbor/dependabot/go_modules/github.co… #791

Workflow file for this run

name: Unit Test
on:
push:
branches: [ '*' ]
paths-ignore: [ '**.md', '**/misc/**', '**/script/**']
pull_request:
branches: [ main ]
paths-ignore: [ '**.md', '**/misc/**', '**/script/**']
jobs:
unit_test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install Golang
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Unit Test
run: |
go test -v -count=1 ./pkg/...