mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 23:50:00 -07:00
refactor timecache
* change clock to `atomic.Int64` * add `once` fields for starter and stopper * update dependencies note: go version updated to 1.19
This commit is contained in:
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
- uses: "actions/checkout@v3"
|
||||
- uses: "actions/setup-go@v3"
|
||||
with:
|
||||
go-version: "^1.18"
|
||||
go-version: "^1.19"
|
||||
- name: "Build"
|
||||
run: "go build ./cmd/..."
|
||||
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
- uses: "actions/checkout@v3"
|
||||
- uses: "actions/setup-go@v3"
|
||||
with:
|
||||
go-version: "^1.18"
|
||||
go-version: "^1.19"
|
||||
- name: "Run `go test`"
|
||||
run: "go test -race ./..."
|
||||
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
- uses: "actions/checkout@v3"
|
||||
- uses: "actions/setup-go@v3"
|
||||
with:
|
||||
go-version: "^1.18"
|
||||
go-version: "^1.19"
|
||||
- name: "Install and configure mochi"
|
||||
run: |
|
||||
go install ./cmd/mochi
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
- uses: "actions/checkout@v3"
|
||||
- uses: "actions/setup-go@v3"
|
||||
with:
|
||||
go-version: "^1.18"
|
||||
go-version: "^1.19"
|
||||
- name: "Install and configure mochi"
|
||||
run: |
|
||||
go install ./cmd/mochi
|
||||
|
||||
Reference in New Issue
Block a user