ci: remove redundant go.yml workflow

go-improved.yml is a superset (tests + build). Also fix its path
trigger to reference itself and include main.go.
This commit is contained in:
Houmgaor
2026-02-17 00:32:11 +01:00
parent 7d54dd0ee6
commit 89d97a15b6
2 changed files with 2 additions and 59 deletions

View File

@@ -14,7 +14,8 @@ on:
- 'server/**' - 'server/**'
- 'go.mod' - 'go.mod'
- 'go.sum' - 'go.sum'
- '.github/workflows/go.yml' - 'main.go'
- '.github/workflows/go-improved.yml'
pull_request: pull_request:
branches: branches:
- main - main

View File

@@ -1,58 +0,0 @@
name: Build
on:
push:
paths:
- 'common/**'
- 'config/**'
- 'network/**'
- 'server/**'
- 'go.mod'
- 'go.sum'
- 'main.go'
- '.github/workflows/go.yml'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Build Linux-amd64
run: env GOOS=linux GOARCH=amd64 go build -v
- name: Upload Linux-amd64 artifacts
uses: actions/upload-artifact@v4
with:
name: Linux-amd64
path: |
./erupe-ce
./config.json
./www/
./savedata/
./bin/
./bundled-schema/
- name: Build Windows-amd64
run: env GOOS=windows GOARCH=amd64 go build -v
- name: Upload Windows-amd64 artifacts
uses: actions/upload-artifact@v4
with:
name: Windows-amd64
path: |
./erupe-ce.exe
./config.json
./www/
./savedata/
./bin/
./bundled-schema/