Skip to content

Bump golang.org/x/text from 0.14.0 to 0.15.0 (#78) #220

Bump golang.org/x/text from 0.14.0 to 0.15.0 (#78)

Bump golang.org/x/text from 0.14.0 to 0.15.0 (#78) #220

Workflow file for this run

name: Go
on:
push:
paths-ignore:
- "README.md"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5
with:
cache: true
go-version-file: "go.mod"
- name: Print Go Version
run: go version
- name: Build
run: go build -v .
- name: Test
run: go test ./...
- name: gofmt
run: |
if [ "$(find . -iname '*.go' | xargs gofmt -l)" ]
then
find . -iname '*.go' | xargs gofmt -d
exit 1
fi
- name: Run golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v4
- name: Run goreleaser check
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5
with:
version: latest
args: check