-
Notifications
You must be signed in to change notification settings - Fork 960
41 lines (37 loc) · 874 Bytes
/
ci.yaml
File metadata and controls
41 lines (37 loc) · 874 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
33
34
35
36
37
38
39
40
41
name: GitHub Actions CI
on:
push:
branches:
- main
- release-v*
pull_request:
branches:
- main
- release-v*
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read # for actions/checkout
jobs:
ci:
name: Continuous Integration
runs-on: ubuntu-latest
defaults:
run:
shell: bash
env:
GITHUB_TEST_ORGANIZATION: kfcampbell-terraform-provider
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Set-up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.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