Skip to content

Migrate from helm/v3 to helm/v4 #731

Migrate from helm/v3 to helm/v4

Migrate from helm/v3 to helm/v4 #731

Workflow file for this run

name: Unit Tests
on:
pull_request:
types: [opened, synchronize, reopened]
branches: [ main ]
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout changes
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- name: Ensure Modules
run: make tidy
- name: Build Binary
run: make bin
- name: Run tests
run: |
# Run go tests
make test
if [[ -n $(git status -s) ]]
then
echo "go test - errors running go tests : $(git status -s)"
exit 1
fi