terraform-incus/.gitea/workflows/build.yaml
Ben Vincent 147ed53b5f
Some checks failed
Build / build (pull_request) Failing after 1m17s
feat: add build job
- add build job that runs `make plan`
- enable provider caching
2025-10-17 12:08:02 +11:00

33 lines
625 B
YAML

---
name: Build
on:
pull_request:
jobs:
build:
runs-on: almalinux-8
container:
image: git.unkin.net/unkin/almalinux9-actionsdind:latest
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Fetch master branch
run: |
git fetch origin master:master
- name: Show changed files
run: |
git diff --name-only master
- name: Run Terraform Plan
env:
VAULT_ROLEID: ${{ secrets.TERRAFORM_INCUS_VAULT_ROLEID }}
run: |
make plan