v1.20.0 release and setup of the v1
branch (#537)
#1294
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
name: Terraform Provider CI | |
on: | |
push: | |
branches: [v1] | |
pull_request: | |
branches: [v1] | |
jobs: | |
checkup: | |
name: Checkup | |
runs-on: ubuntu-latest | |
env: | |
GOARCH: amd64 | |
GOOS: linux | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
- name: Run fmt | |
uses: aminueza/go-github-action/fmt@master | |
- name: Run sec | |
uses: aminueza/go-github-action/sec@master | |
with: | |
path: minio/... | |
- name: Run vet | |
uses: aminueza/go-github-action/vet@master | |
- name: Run errcheck | |
uses: aminueza/go-github-action/errcheck@master | |
with: | |
path: minio/... | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: "go.mod" | |
- uses: dominikh/[email protected] | |
with: | |
version: "2023.1.6" | |
install-go: false | |
- name: Build the docker-compose stack | |
run: docker-compose up -d minio | |
- uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: 1.4.7 | |
terraform_wrapper: false | |
- name: Install Task | |
uses: arduino/setup-task@v1 | |
with: | |
version: "3.x" | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run install task | |
run: task install | |
- name: Run test task | |
run: task test |