Skip to content

Don't produce an empty file if generate fails #42

Don't produce an empty file if generate fails

Don't produce an empty file if generate fails #42

Workflow file for this run

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