Skip to content

Add version checking and force upgrade functionality to upgrade.sh #81

Add version checking and force upgrade functionality to upgrade.sh

Add version checking and force upgrade functionality to upgrade.sh #81

Workflow file for this run

name: Build + tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build:
name: "Build + tests"
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build
run: |
make build
- name: Run unit tests
run: |
go install github.com/kyoh86/[email protected]
set -o pipefail
make test | richgo testfilter
env:
RICHGO_FORCE_COLOR: 1