forked from mirror/ants
Bump up go version to test
This commit is contained in:
parent
2a6afefa00
commit
2b08f9fb1b
|
@ -4,9 +4,13 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
|
@ -18,7 +22,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
go: [1.14.x, 1.15.x]
|
go: [1.15.x, 1.16.x]
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.os}}
|
runs-on: ${{ matrix.os}}
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -3,8 +3,12 @@ name: CodeQL
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * 6'
|
- cron: '0 5 * * 6'
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,13 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
golangci:
|
golangci:
|
||||||
|
|
10
README.md
10
README.md
|
@ -29,15 +29,9 @@ Library `ants` implements a goroutine pool with fixed capacity, managing and rec
|
||||||
- Efficient in memory usage and it even achieves [higher performance](#-performance-summary) than unlimited goroutines in Golang
|
- Efficient in memory usage and it even achieves [higher performance](#-performance-summary) than unlimited goroutines in Golang
|
||||||
- Nonblocking mechanism
|
- Nonblocking mechanism
|
||||||
|
|
||||||
## ⚔️ Tested in the following Golang versions:
|
## ⚔️ Tested in the following Golang releases:
|
||||||
|
|
||||||
- 1.8.x
|
All releases from **Go1.8.x** to **Go1.16.x**.
|
||||||
- 1.9.x
|
|
||||||
- 1.10.x
|
|
||||||
- 1.11.x
|
|
||||||
- 1.12.x
|
|
||||||
- 1.13.x
|
|
||||||
- 1.14.x
|
|
||||||
|
|
||||||
## 💡 How `ants` works
|
## 💡 How `ants` works
|
||||||
|
|
||||||
|
|
10
README_ZH.md
10
README_ZH.md
|
@ -29,15 +29,9 @@
|
||||||
- 资源复用,极大节省内存使用量;在大规模批量并发任务场景下比原生 goroutine 并发具有[更高的性能](#-性能小结)
|
- 资源复用,极大节省内存使用量;在大规模批量并发任务场景下比原生 goroutine 并发具有[更高的性能](#-性能小结)
|
||||||
- 非阻塞机制
|
- 非阻塞机制
|
||||||
|
|
||||||
## ⚔️ 目前测试通过的Golang版本:
|
## ⚔️ 目前测试通过的 Golang 版本:
|
||||||
|
|
||||||
- 1.8.x
|
从 **Go 1.8.x** 到 **Go 1.16.x** 的所有版本。
|
||||||
- 1.9.x
|
|
||||||
- 1.10.x
|
|
||||||
- 1.11.x
|
|
||||||
- 1.12.x
|
|
||||||
- 1.13.x
|
|
||||||
- 1.14.x
|
|
||||||
|
|
||||||
## 💡 `ants` 是如何运行的
|
## 💡 `ants` 是如何运行的
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue