improve generated client code by adding SLO initialism (#93) #481
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build and test the Chronosphere provider | |
name: Go | |
on: | |
push: | |
branches: main | |
pull_request: | |
# The specific activity types are listed here to include "labeled" and "unlabeled" | |
# (which are not included by default for the "pull_request" trigger). | |
# This is needed to allow skipping enforcement of the changelog in PRs with specific labels, | |
# as defined in the (optional) "skipLabels" property. | |
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | |
jobs: | |
# Enforces the update of a changelog file on every pull request | |
changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dangoslen/changelog-enforcer@v3 | |
with: | |
skipLabels: "skip-changelog,ignore-release" | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22.3" | |
- name: Build | |
run: make build | |
- name: Set up Terraform | |
uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: "1.8.0" | |
- name: Validate Generated Code | |
run: make test-generate | |
- name: Test | |
run: make test | |
- name: Lint | |
run: make lint |