Skip to content

Merge pull request #1 from zJiaJun/refactor #58

Merge pull request #1 from zJiaJun/refactor

Merge pull request #1 from zJiaJun/refactor #58

Workflow file for this run

name: CI Actions
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.1'
- name: Build
run: go build -o ./build/warmane -v -ldflags='-s -w -extldflags "-static -fpic"' ./cmd
- name: Test
run: go test -v ./...