diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml new file mode 100644 index 000000000..944ed41d5 --- /dev/null +++ b/.github/workflows/verify.yml @@ -0,0 +1,24 @@ +name: Verify +on: [push] + +jobs: + verify: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: verify + run: | + ./ci/bin/install.sh + ./ci/bin/verify.sh + + verify-examples: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: verify-examples + run: | + ./ci/bin/install.sh + ./ci/bin/verify-examples.sh + diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 28150f5ec..000000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -dist: trusty -sudo: false - -install: - - ./ci/bin/install.sh - -jobs: - include: - - stage: verify - script: ./ci/bin/verify.sh - - stage: verify - script: ./ci/bin/verify-examples.sh examples diff --git a/ci/bin/terraform.sh b/ci/bin/terraform.sh index b425edb0e..5296ce347 100755 --- a/ci/bin/terraform.sh +++ b/ci/bin/terraform.sh @@ -3,7 +3,7 @@ TARGET_DIR=/opt PATH=${PATH}:${TARGET_DIR} -TERRAFORM_VERSION=${1:-"0.12.3"} +TERRAFORM_VERSION=${1:-"0.12.8"} OS=${2:-"linux"} TERRAFORM_URL="https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_${OS}_amd64.zip"