fix: remove unnecessary action after selecting a host and optimize co… #256
Workflow file for this run
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
# This workflow runs format and build checks on the projects golang code | |
name: Golang CI | |
on: [push] | |
jobs: | |
go-format-and-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Golang | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22.1" | |
- name: Generate support files | |
run: make generate | |
- name: Format Golang | |
run: if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then exit 1; fi | |
- name: Build cfm-service & cfm-cli (Golang) | |
run: make build-go | |
- name: Build cxl-host (Golang) | |
working-directory: ./cmd/cxl-host | |
run: make local |