Files
lordwelch e003e67992
Push / CI (push) Successful in 8m46s
Update .github/workflows/push.yml
2026-09-02 13:49:17 -07:00

25 lines
598 B
YAML

name: Push
on:
push:
branches: [ master ]
jobs:
build:
name: CI
runs-on: podman
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Ensure all files were formatted as per gofmt
run: |
[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]
- name: Build Linux kernel
run: |
GOPROXY=direct CGO_ENABLED=0 GOBIN=$PWD/_build go install github.com/gokrazy/autoupdate/cmd/gokr-rebuild-kernel@latest
chown -R podman:podman .
su podman bash -c '(cd _build && ./gokr-rebuild-kernel)'