Skip to content

Add go.sum entries for silo-plugin-sdk #4

Add go.sum entries for silo-plugin-sdk

Add go.sum entries for silo-plugin-sdk #4

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '1.26'
- name: Configure module resolution
run: |
go env -w GOPROXY=direct
go env -w GOPRIVATE=github.com/Silo-Server/*
go env -w GONOSUMDB=github.com/Silo-Server/*
- name: Reject committed local SDK replaces
run: |
if grep -Eq '^replace github.com/Silo-Server/silo-plugin-sdk => /' go.mod; then
echo "go.mod contains a machine-local silo-plugin-sdk replace."
exit 1
fi
- name: Run tests
env:
GOWORK: off
run: go test ./...