Skip to content

feat: 实现 thinkthinking 第一期 — 微信公众号 Markdown 转换与草稿上传 #1

feat: 实现 thinkthinking 第一期 — 微信公众号 Markdown 转换与草稿上传

feat: 实现 thinkthinking 第一期 — 微信公众号 Markdown 转换与草稿上传 #1

Workflow file for this run

name: test
on:
push:
branches: [master, main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.24"
cache: true
- name: gofmt check
run: |
if [ -n "$(gofmt -l .)" ]; then
echo "These files need gofmt:"
gofmt -l .
exit 1
fi
- name: go vet
run: go vet ./...
- name: go test
run: go test -race ./...