chore: Upgrade to golang 1.22, Replace sprig with sprout, and other updates and fixes plus plank upgrade to fix deletes #575
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Build | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.20', '1.21' ] | |
name: Go ${{ matrix.go }} build | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Setup go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Cache Build Dependencies # Speeds up subsquent builds | |
uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
go- | |
- name: Build | |
run: go build -v . | |
- name: Test | |
run: go test -v -race -covermode atomic -coverprofile=profile.cov ./... | |
- name: Send Coverage | |
uses: shogo82148/actions-goveralls@v1 | |
with: | |
path-to-profile: profile.cov |