diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yml similarity index 100% rename from .github/workflows/release.yaml rename to .github/workflows/release.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..37c07770 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,37 @@ +name: Test changes +on: + pull_request: + branches: + - main + - master + - 'v*' +jobs: + goreleaser: + runs-on: ubuntu-20.04 + steps: + - + name: Checkout the repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - + name: Set up the required version of Go + uses: actions/setup-go@v2 + with: + go-version: 1.15 + - + name: Import the GPG signing key + env: + GPG_KEY: ${{ secrets.GPG_KEY }} + run: | + echo "$GPG_KEY" | base64 -d | gpg --batch --allow-secret-key-import --import + gpg --keyid-format LONG --list-secret-keys + - + name: Create release + uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: release --rm-dist --snapshot + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GPG_FINGERPRINT: ${{ secrets.GPG_FINGERPRINT }} diff --git a/CHANGELOG.md b/CHANGELOG.md index c4c78c16..256a6124 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,13 +9,13 @@ BREAKING CHANGES: * resource/virtual_environment_vm: `interface` is now required to create disks -``` - disk { - datastore_id = "local-lvm" - file_id = "${proxmox_virtual_environment_file.ubuntu_cloud_image.id}" - interface = "scsi0" - } -``` + ``` + disk { + datastore_id = "local-lvm" + file_id = "${proxmox_virtual_environment_file.ubuntu_cloud_image.id}" + interface = "scsi0" + } + ``` ENHANCEMENTS: diff --git a/example/versions.tf b/example/versions.tf index 45c50008..6066ec0e 100644 --- a/example/versions.tf +++ b/example/versions.tf @@ -4,7 +4,7 @@ terraform { source = "hashicorp/local" } proxmox = { - source = "terraform.danitso.com/provider/proxmox" + source = "danitso/proxmox" } tls = { source = "hashicorp/tls"