Skip to content

Bump wangyoucao577/go-release-action from 1.51 to 1.52 (#105) #248

Bump wangyoucao577/go-release-action from 1.51 to 1.52 (#105)

Bump wangyoucao577/go-release-action from 1.51 to 1.52 (#105) #248

Workflow file for this run

---
name: Build
on:
push:
branches:
- master
tags:
- "v*"
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ["oldstable", "stable"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -ldflags="-s -w" -v
working-directory: cmd/server
- name: Test
run: go test -v -tags test ./...