-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (36 loc) · 889 Bytes
/
ci.yaml
File metadata and controls
37 lines (36 loc) · 889 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
name: Run CI Tests
on:
pull_request:
paths-ignore:
- 'README.md'
- 'LICENSE'
push:
branches:
- 'main'
jobs:
run-copywrite:
timeout-minutes: 5
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: hashicorp/setup-copywrite@v1.1.3
- name: verify copyright
run: |
copywrite --config .github/workflows/scripts/copywrite.hcl \
headers --spdx "BSD-3-Clause" --plan
run-tests:
timeout-minutes: 5
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Show System
run: |
uname -a
just sysinfo
- name: Run Go Test
run: |
just init tidy lint test