Skip to content

Adjust project files and configuration #23

Adjust project files and configuration

Adjust project files and configuration #23

Workflow file for this run

name: CI Workflow
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
id-token: write
env:
GO_VERSION: "1.24"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
main:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # tag=v2.1.0
with:
repo: pulumi/pulumictl
- name: Install pulumi
uses: pulumi/actions@v4
- name: Install Go Tools
uses: ./.github/actions/gotools
with:
go-version: ${{ env.GO_VERSION }}
- name: Build sdks
run: make build
- name: Lint
run: make lint_provider
config:
name: Check GoReleaser config
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
args: check