Bump up go version to test

This commit is contained in:
Andy Pan 2021-05-19 18:55:43 +08:00
parent 2a6afefa00
commit 2b08f9fb1b
5 changed files with 17 additions and 17 deletions

View File

@ -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:

View File

@ -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'

View File

@ -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:

View File

@ -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

View File

@ -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` 是如何运行的