Skip to content

feat: fix Go acronym casing in generated code #35

feat: fix Go acronym casing in generated code

feat: fix Go acronym casing in generated code #35

Workflow file for this run

name: CI
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: true
- name: Run tests with race detection
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
# Do not run coverage if it's a fork since it won't get access to secrets
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push'
uses: codecov/codecov-action@v4
with:
file: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true