-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update workflow to include API generation step
- Loading branch information
Daniel Zautner
committed
Oct 16, 2024
1 parent
dc61b43
commit 3564022
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.23' | ||
go-version: '1.21' # Make sure this matches your go.mod file | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected] | ||
|
@@ -55,6 +55,11 @@ jobs: | |
- name: Build | ||
run: | | ||
cd redfish-exporter | ||
# Generate API | ||
cd api | ||
make | ||
cd .. | ||
# Main build | ||
go mod tidy | ||
go mod verify | ||
make | ||
|