feat: Add snake2camel provider function for converting snake_case to camelCase #775
Workflow file for this run
  
    
      This file contains hidden or 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
    
  
  
    
  | --- | |
| name: Unit Tests | |
| on: | |
| pull_request: | |
| types: ['opened', 'synchronize'] | |
| paths: | |
| - '**.go' | |
| - '**.tf' | |
| - 'vendor/**' | |
| - '.github/workflows/**' | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| generate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: 'go.mod' | |
| cache: true | |
| - name: Setup Terraform | |
| uses: hashicorp/setup-terraform@v3 | |
| with: | |
| terraform_version: latest | |
| terraform_wrapper: false | |
| - run: go generate ./... | |
| - name: git diff | |
| run: | | |
| git diff --exit-code || \ | |
| (echo; echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."; exit 1) | |
| - name: display verbose changes if failure | |
| if: failure() | |
| run: git diff | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-go@v2 | |
| with: | |
| go-version-file: 'go.mod' | |
| cache: true | |
| - run: chmod -R +x ./scripts | |
| - run: bash scripts/gogetcookie.sh | |
| - run: make test | |
| env: | |
| GITHUB_ACTIONS_STAGE: "UNIT_TESTS" |