1
0
mirror of https://github.com/FloatTech/zbpdata.git synced 2024-09-29 17:36:28 +09:00
zbpdata/.github/workflows/ci.yml

30 lines
655 B
YAML
Raw Permalink Normal View History

2023-04-06 15:32:07 +09:00
name: CI
on: [ push, pull_request ]
jobs:
golangci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@master
with:
go-version: '1.20'
- name: Check out code into the Go module directory
uses: actions/checkout@master
with:
submodules: 'true'
fetch-depth: 0
- name: Run Check
run: |
echo "ls ./"
ls
rm -rf Wife/*.go Wife/*.md Wife/.git
echo "ls Wife/"
ls Wife/
go mod init updater
sed -i '1,3d' main.go
go mod tidy
go run main.go -c