terraform-provider-stackitp.../.github/workflows/ci.yaml
Rüdiger Schmitz 54b997f07e
chore: provide terraform binary to pipeline (#615)
* chore: pull terraform binary explicitly

* chore: use unzip instead of not available bsdtar

* chore: reuse existing terraform from path

* chore: use github action to install terraform in pipeline

* chore: removed explicit terraform version
2024-12-18 11:31:24 +01:00

24 lines
480 B
YAML

name: CI Workflow
on: [pull_request, workflow_dispatch]
env:
GO_VERSION: "1.23"
jobs:
main:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build
with:
go-version: ${{ env.GO_VERSION }}
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
- name: Lint
run: make lint
- name: Test
run: make test