forked from integrations/terraform-provider-github
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 800 Bytes
/
ci.yaml
File metadata and controls
40 lines (36 loc) · 800 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
name: CI
on:
push:
branches:
- main
- release-v*
pull_request:
branches:
- main
- release-v*
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
ci:
name: Continuous Integration
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set-up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version-file: go.mod
cache: true
- run: make tools
- run: make lintcheck
- run: make website-lint
- run: make build
- run: make test