Skip to content

Changed version and publish chart workflow #13

Changed version and publish chart workflow

Changed version and publish chart workflow #13

Workflow file for this run

name: "Test PR"
on:
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
jobs:
tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Setup Go Cache Paths
id: go-cache-paths
run: |
echo "go-build=$(go env GOCACHE)" >>$GITHUB_OUTPUT
echo "go-mod=$(go env GOMODCACHE)" >>$GITHUB_OUTPUT
- name: Go Build Cache
uses: actions/cache@v3
with:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
- name: Go Mod Cache
uses: actions/cache@v3
with:
path: ${{ steps.go-cache-paths.outputs.go-mod }}
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
- name: Run Unit Tests
id: run-tests
run: |
./do.sh tests