Skip to content

github actions 整理 #1

github actions 整理

github actions 整理 #1

Workflow file for this run

name: ci
on:
push:
branches-ignore:
- "main"
tags-ignore:
- "*"
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
# go-version-file: ./go.mod
go-version: "^1.21.3"
- run: go version
- run: go fmt .
- uses: dominikh/[email protected]
with:
version: "2023.1.2"
install-go: false
- name: Test
run: make test
- name: Build
run: make