Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/go_build.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,18 @@ jobs:

- name: Build
run: source activate-opt && go build -v ./cmd/radiance

- name: Test
run: source activate-opt && go test -v ./...

# Check that go.mod and go.sum are up to date
- name: Tidy
run: |
go mod tidy
if [[ -n $(git status --porcelain go.mod go.sum) ]]; then
echo "go.mod or go.sum is not up to date. Please run 'go mod tidy' and commit the changes."
git --no-pager diff go.mod go.sum
exit 1
fi
# TODO: Add linting step + Test Coverage