Skip to content

Add Wire-based DI for server wiring #2

Add Wire-based DI for server wiring

Add Wire-based DI for server wiring #2

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23.x"
cache: true
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Go fmt / vet / test / staticcheck
run: |
go fmt ./...
go vet ./...
go test ./...
$(go env GOPATH)/bin/staticcheck ./...
- name: Build container (no push)
run: docker build -t ghcr.io/${{ github.repository }}/gamifykit:ci-${{ github.run_number }} .