Skip to content

chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0 #188

chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0

chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0 #188

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22']
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Install dependencies
run: go get .
- name: Build
run: go build ./...
- name: Test with the Go CLI
run: go test -short ./...
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
cache: true
- run: make generate
- name: git diff
run: |
git diff --exit-code || \
(echo; echo "Unexpected difference in directories after code generation. Run 'make generate' command and commit."; exit 1)