forked from integrations/terraform-provider-github
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 705 Bytes
/
ci.yaml
File metadata and controls
32 lines (29 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: GitHub Actions CI
on:
workflow_dispatch:
push:
branches: [main]
pull_request: {}
permissions: read-all
jobs:
ci:
name: CI
runs-on: ubuntu-latest
defaults:
run:
shell: bash
env:
GITHUB_TEST_ORGANIZATION: kfcampbell-terraform-provider
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set-up Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: go.mod
cache: true
- run: make tools
- run: make lint
- run: make website-lint
- run: make build
- run: make test