Skip to content

chore(deps): update dependency go to v1.23.2 #369

chore(deps): update dependency go to v1.23.2

chore(deps): update dependency go to v1.23.2 #369

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_and_test:
name: Build and Test
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
cache: true
go-version-file: go.mod
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Set up Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
- name: Generate docs
shell: bash
run: go generate ./...
- name: Check for documentation changes
shell: bash
run: |
result=0
git diff --compact-summary --exit-code || result=$?
if [ ! "$result" -eq "0" ]; then
echo
echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."
exit 1
fi