From 2b08f9fb1b5d0781219f1197a4ddd919d1443c38 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Wed, 19 May 2021 18:55:43 +0800 Subject: [PATCH] Bump up go version to test --- .github/workflows/ci.yml | 6 +++++- .github/workflows/codeql.yml | 4 ++++ .github/workflows/lint.yml | 4 ++++ README.md | 10 ++-------- README_ZH.md | 10 ++-------- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a42ea7a..1603bd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,9 +4,13 @@ on: push: branches: - master + paths-ignore: + - '**.md' pull_request: branches: - master + paths-ignore: + - '**.md' env: GO111MODULE: on @@ -18,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - go: [1.14.x, 1.15.x] + go: [1.15.x, 1.16.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os}} steps: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f9609c6..33e225b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -3,8 +3,12 @@ name: CodeQL on: push: branches: [master] + paths-ignore: + - '**.md' pull_request: branches: [master] + paths-ignore: + - '**.md' schedule: - cron: '0 5 * * 6' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index aeeac47..91d0d51 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,9 +4,13 @@ on: push: branches: - master + paths-ignore: + - '**.md' pull_request: branches: - master + paths-ignore: + - '**.md' jobs: golangci: diff --git a/README.md b/README.md index 471a938..71a76b0 100644 --- a/README.md +++ b/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 - Nonblocking mechanism -## ⚔️ Tested in the following Golang versions: +## ⚔️ Tested in the following Golang releases: -- 1.8.x -- 1.9.x -- 1.10.x -- 1.11.x -- 1.12.x -- 1.13.x -- 1.14.x +All releases from **Go1.8.x** to **Go1.16.x**. ## 💡 How `ants` works diff --git a/README_ZH.md b/README_ZH.md index d8ae9f5..ab74101 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -29,15 +29,9 @@ - 资源复用,极大节省内存使用量;在大规模批量并发任务场景下比原生 goroutine 并发具有[更高的性能](#-性能小结) - 非阻塞机制 -## ⚔️ 目前测试通过的Golang版本: +## ⚔️ 目前测试通过的 Golang 版本: -- 1.8.x -- 1.9.x -- 1.10.x -- 1.11.x -- 1.12.x -- 1.13.x -- 1.14.x +从 **Go 1.8.x** 到 **Go 1.16.x** 的所有版本。 ## 💡 `ants` 是如何运行的