add embedded version of edk2 firmware files #246
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gokrazy CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: build-and-test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v4 | |
with: | |
# Run on the latest stable Go version, e.g. 1.23.0: | |
# Currently on Go 1.22 because of https://go.dev/issue/68928 | |
go-version: '1.22' | |
id: go | |
- name: Ensure all files were formatted as per gofmt | |
run: | | |
[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ] | |
- name: Build, Test and Create Disk Image | |
run: | | |
go install -mod=mod ./cmd/... | |
go test -mod=mod -v ./... |