Skip to content

Minor refactor, simplified how "interactive" mode works #109

Minor refactor, simplified how "interactive" mode works

Minor refactor, simplified how "interactive" mode works #109

Workflow file for this run

name: "Build and test"
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
merge_group:
push:
branches:
- 'main'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
GOPROXY: https://proxy.golang.org/,direct
GOPRIVATE: ""
GONOPROXY: ""
GONOSUMDB: github.com/github/*
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ">=1.22"
check-latest: true
- name: Verify go.sum is up to date
run: |
go mod tidy
git diff --exit-code go.sum
if [ $? -ne 0 ]; then
echo "Error: go.sum has changed, please run `go mod tidy` and commit the result"
exit 1
fi
- name: Build program
run: go build -v ./...
- name: Run tests
run: |
go version
go test -race -cover ./...
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy