Skip to content

Merge pull request #285 from goharbor/dependabot/go_modules/go.etcd.i… #792

Merge pull request #285 from goharbor/dependabot/go_modules/go.etcd.i…

Merge pull request #285 from goharbor/dependabot/go_modules/go.etcd.i… #792

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/...