mirror of
https://github.com/games-on-whales/fenrir.git
synced 2026-10-15 12:51:53 +00:00
[PR #13] [MERGED] Update the CI workflows to include linting and tests #14
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/fenrir#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/fenrir/pull/13
Author: @axolotlite
Created: 7/11/2026
Status: ✅ Merged
Merged: 7/14/2026
Merged by: @axolotlite
Base:
main← Head:chore/ci-workflows📝 Commits (10+)
b0c4668[ci] only build images on push / merge into mainb991198[ci] add golangci-lint config and github actioncf45da1[ci] add tests and image builds during PRs5a39610[ci:PR] build all 3 images even if one failsbe027b2[ci:PR] remove the faulty tage71ec25[ci] add makefile and timeout to go test5072452[tests] comment out config tests170bfc3[ci] uncomment the release logiccf75e53[lint] use the correct import name for fenrirbdc3397[crds] remove faulty quotation📊 Changes
10 files changed (+440 additions, -102 deletions)
View changed files
➕
.github/workflows/build.yml(+37 -0)📝
.github/workflows/builder.yml(+1 -1)➕
.github/workflows/golangci-lint.yml(+20 -0)➕
.github/workflows/test.yml(+36 -0)➕
.golangci.yml(+221 -0)➕
Makefile(+25 -0)📝
pkg/api/v1alpha1/app.go(+2 -3)📝
pkg/controllers/config_test.go(+36 -36)📝
pkg/controllers/session_test.go(+4 -4)📝
pkg/wolfapi/client_test.go(+58 -58)📄 Description
This PR aims to add
golangci-lintalongside some tests during the PR process.I've tried to follow the example set in kubernetes-sigs/cluster-api: golangci.yml alongside a few other sigs projects.
I've commented out the pull_request from
.github/workflows/builder.ymland added a new workflow.github/workflows/build.ymlthat just builds the images for the PR without pushing them, so that images are only built then pushed on merging to main.I'm considering rewriting
.github/workflows/builder.ymlto just follow DRY and removebuild.yml🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.