feat: rewrite module for AKS + CFK (Confluent for Kubernetes) v2.0.0 … #1
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: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| validate: | |
| name: Validate | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Setup Terraform | |
| uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 | |
| with: | |
| terraform_version: "~> 1.9" | |
| - name: Terraform Format Check | |
| run: terraform fmt -check -recursive | |
| - name: Validate Root Module | |
| run: | | |
| terraform init -backend=false | |
| terraform validate | |
| version: | |
| name: Bump Version | |
| needs: [validate] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Bump version and push tag | |
| id: tag | |
| uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1.75.0 | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| DEFAULT_BUMP: patch | |
| WITH_V: "true" | |
| MAJOR_STRING_TOKEN: "#major" | |
| MINOR_STRING_TOKEN: "#minor" | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2 | |
| with: | |
| tag_name: ${{ steps.tag.outputs.new_tag }} | |
| generate_release_notes: true | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} |