-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 856 Bytes
/
ci.yaml
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
name: ci
on:
push:
branches:
- '*'
pull_request: {}
# allow manual runs:
workflow_dispatch: {}
jobs:
ci:
runs-on: ubuntu-latest
container:
image: ghcr.io/quite/tkey-apps-builder:1
# https://github.com/actions/runner/issues/2033#issuecomment-1598547465
options: --user 1001
steps:
- name: checkout
uses: actions/checkout@v3
with:
#fetch-depth: 0
persist-credentials: false
- name: build
run: ./build.sh
- name: make lint
run: |
go install golang.org/dl/go1.22.2@latest
$(go env GOPATH)/bin/go1.22.2 download
ln -s $(go env GOPATH)/bin/go1.22.2 $(go env GOPATH)/bin/go
PATH=$(go env GOPATH)/bin:$PATH
make lint
# - name: check for SPDX tags
# run: ./tools/spdx-ensure