Skip to content

Add unittest for /pkg/upgrade #661

Add unittest for /pkg/upgrade

Add unittest for /pkg/upgrade #661

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
test:
name: Unit Tests & Code Quality
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit
- name: Check out code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
- name: Unit Tests
run: make test-unit