Skip to content

Commit

Permalink
set ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
zJiaJun committed Sep 5, 2023
1 parent 2d92cae commit 7afc0df
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/go.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on:
Expand All @@ -22,7 +19,7 @@ jobs:
go-version: '1.20'

- name: Build
run: go build -v ./...
run: go build -v -ldflags='-s -w -extldflags "-static -fpic"' -o /build/warmane

- name: Test
run: go test -v ./...

0 comments on commit 7afc0df

Please sign in to comment.