Skip to content

Bump golang.org/x/net from 0.20.0 to 0.23.0 #213

Bump golang.org/x/net from 0.20.0 to 0.23.0

Bump golang.org/x/net from 0.20.0 to 0.23.0 #213

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@d6238b002a20823d52840fda27e2d4891c5952dc # v4
- name: Run goreleaser check
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5
with:
version: latest
args: check