From 8e8869f11a782234210a944248a7366954afb601 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 20 Apr 2022 23:01:12 -0700 Subject: [PATCH 1/7] Update to using Go 1.17 in assets 1.17 is now the standard Go version for Arduino tooling projects. --- workflow-templates/assets/cobra/docsgen/go.mod | 2 +- workflow-templates/assets/release-go-task/DistTasks.yml | 2 +- workflow-templates/check-go-dependencies-task.yml | 2 +- workflow-templates/check-go-task.yml | 2 +- .../.github/workflows/check-go-dependencies-task.yml | 2 +- .../.github/workflows/check-go-task.yml | 2 +- .../.github/workflows/release-go-crosscompile-task.yml | 2 +- .../.github/workflows/test-go-integration-task.yml | 2 +- .../workflow-template-copies/.github/workflows/test-go-task.yml | 2 +- workflow-templates/release-go-crosscompile-task.yml | 2 +- workflow-templates/test-go-integration-task.yml | 2 +- workflow-templates/test-go-task.yml | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/workflow-templates/assets/cobra/docsgen/go.mod b/workflow-templates/assets/cobra/docsgen/go.mod index 0f0cfb70..eb871d1e 100644 --- a/workflow-templates/assets/cobra/docsgen/go.mod +++ b/workflow-templates/assets/cobra/docsgen/go.mod @@ -2,7 +2,7 @@ // TODO: replace MODULE_NAME with the project's module name module MODULE_NAME/docsgen -go 1.16 +go 1.17 replace MODULE_NAME => ../ diff --git a/workflow-templates/assets/release-go-task/DistTasks.yml b/workflow-templates/assets/release-go-task/DistTasks.yml index 222e9e1d..ee809286 100644 --- a/workflow-templates/assets/release-go-task/DistTasks.yml +++ b/workflow-templates/assets/release-go-task/DistTasks.yml @@ -19,7 +19,7 @@ version: "3" vars: CONTAINER: "docker.elastic.co/beats-dev/golang-crossbuild" - GO_VERSION: "1.16.4" + GO_VERSION: "1.17.8" CHECKSUM_FILE: "{{.VERSION}}-checksums.txt" tasks: diff --git a/workflow-templates/check-go-dependencies-task.yml b/workflow-templates/check-go-dependencies-task.yml index b584f40a..c7ca5527 100644 --- a/workflow-templates/check-go-dependencies-task.yml +++ b/workflow-templates/check-go-dependencies-task.yml @@ -3,7 +3,7 @@ name: Check Go Dependencies env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: diff --git a/workflow-templates/check-go-task.yml b/workflow-templates/check-go-task.yml index 3cc99724..57ab156a 100644 --- a/workflow-templates/check-go-task.yml +++ b/workflow-templates/check-go-task.yml @@ -3,7 +3,7 @@ name: Check Go env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-dependencies-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-dependencies-task.yml index b584f40a..c7ca5527 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-dependencies-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-dependencies-task.yml @@ -3,7 +3,7 @@ name: Check Go Dependencies env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-task.yml index 3cc99724..57ab156a 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-task.yml @@ -3,7 +3,7 @@ name: Check Go env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml index 6f629a61..67d5a5e6 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml @@ -10,7 +10,7 @@ env: AWS_PLUGIN_TARGET: TODO ARTIFACT_NAME: dist # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: 1.16 + GO_VERSION: "1.17" on: push: diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml index 82fbda4d..6d2210f7 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml @@ -3,7 +3,7 @@ name: Test Integration env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python PYTHON_VERSION: "3.9" diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml index 4bdebf5e..91d24f96 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml @@ -3,7 +3,7 @@ name: Test Go env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: diff --git a/workflow-templates/release-go-crosscompile-task.yml b/workflow-templates/release-go-crosscompile-task.yml index 6f629a61..67d5a5e6 100644 --- a/workflow-templates/release-go-crosscompile-task.yml +++ b/workflow-templates/release-go-crosscompile-task.yml @@ -10,7 +10,7 @@ env: AWS_PLUGIN_TARGET: TODO ARTIFACT_NAME: dist # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: 1.16 + GO_VERSION: "1.17" on: push: diff --git a/workflow-templates/test-go-integration-task.yml b/workflow-templates/test-go-integration-task.yml index 82fbda4d..6d2210f7 100644 --- a/workflow-templates/test-go-integration-task.yml +++ b/workflow-templates/test-go-integration-task.yml @@ -3,7 +3,7 @@ name: Test Integration env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python PYTHON_VERSION: "3.9" diff --git a/workflow-templates/test-go-task.yml b/workflow-templates/test-go-task.yml index 4bdebf5e..91d24f96 100644 --- a/workflow-templates/test-go-task.yml +++ b/workflow-templates/test-go-task.yml @@ -3,7 +3,7 @@ name: Test Go env: # See: https://github.com/actions/setup-go/tree/v2#readme - GO_VERSION: "1.16" + GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: From ce16dc43483f9798a4d90c6c7303592fb400436e Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 20 Apr 2022 23:45:25 -0700 Subject: [PATCH 2/7] Update `actions/setup-python` reference link to match version in use The reference link describes the version formats supported by the `actions/setup-python` GitHub Actions action used to setup Python in the GitHub Actions runner for the workflows. In order to provide the correct documentation for the action version in use, the URL is based on the major version ref of the action repo, but this was not updated at the time of the bump from the v2 to v3 version series in the workflows. --- .github/workflows/check-python-task.yml | 2 +- .github/workflows/check-yaml-task.yml | 2 +- .github/workflows/spell-check-task.yml | 2 +- .github/workflows/test-python-poetry-task.yml | 2 +- workflow-templates/check-mkdocs-task.yml | 2 +- workflow-templates/check-python-task.yml | 2 +- workflow-templates/check-yaml-task.yml | 2 +- .../.github/workflows/check-mkdocs-task.yml | 2 +- .../.github/workflows/check-python-task.yml | 2 +- .../.github/workflows/check-yaml-task.yml | 2 +- .../.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml | 2 +- .../.github/workflows/deploy-mkdocs-poetry.yml | 2 +- .../.github/workflows/deploy-mkdocs-versioned-poetry.yml | 2 +- .../.github/workflows/spell-check-task.yml | 2 +- .../.github/workflows/test-go-integration-task.yml | 2 +- .../.github/workflows/test-python-poetry-task.yml | 2 +- workflow-templates/deploy-cobra-mkdocs-versioned-poetry.yml | 2 +- workflow-templates/deploy-mkdocs-poetry.yml | 2 +- workflow-templates/deploy-mkdocs-versioned-poetry.yml | 2 +- workflow-templates/spell-check-task.yml | 2 +- workflow-templates/test-go-integration-task.yml | 2 +- workflow-templates/test-python-poetry-task.yml | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/check-python-task.yml b/.github/workflows/check-python-task.yml index 378a4eec..8f0ccb78 100644 --- a/.github/workflows/check-python-task.yml +++ b/.github/workflows/check-python-task.yml @@ -2,7 +2,7 @@ name: Check Python env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/.github/workflows/check-yaml-task.yml b/.github/workflows/check-yaml-task.yml index 214be93d..490cda44 100644 --- a/.github/workflows/check-yaml-task.yml +++ b/.github/workflows/check-yaml-task.yml @@ -2,7 +2,7 @@ name: Check YAML env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/.github/workflows/spell-check-task.yml b/.github/workflows/spell-check-task.yml index 7db2aeb0..8a7de21a 100644 --- a/.github/workflows/spell-check-task.yml +++ b/.github/workflows/spell-check-task.yml @@ -2,7 +2,7 @@ name: Spell Check env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/.github/workflows/test-python-poetry-task.yml b/.github/workflows/test-python-poetry-task.yml index 4450fb31..707cce49 100644 --- a/.github/workflows/test-python-poetry-task.yml +++ b/.github/workflows/test-python-poetry-task.yml @@ -2,7 +2,7 @@ name: Test Python env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/check-mkdocs-task.yml b/workflow-templates/check-mkdocs-task.yml index 00d5d7ad..72233958 100644 --- a/workflow-templates/check-mkdocs-task.yml +++ b/workflow-templates/check-mkdocs-task.yml @@ -2,7 +2,7 @@ name: Check Website env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/check-python-task.yml b/workflow-templates/check-python-task.yml index 378a4eec..8f0ccb78 100644 --- a/workflow-templates/check-python-task.yml +++ b/workflow-templates/check-python-task.yml @@ -2,7 +2,7 @@ name: Check Python env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/check-yaml-task.yml b/workflow-templates/check-yaml-task.yml index 214be93d..490cda44 100644 --- a/workflow-templates/check-yaml-task.yml +++ b/workflow-templates/check-yaml-task.yml @@ -2,7 +2,7 @@ name: Check YAML env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-mkdocs-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-mkdocs-task.yml index 00d5d7ad..72233958 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-mkdocs-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-mkdocs-task.yml @@ -2,7 +2,7 @@ name: Check Website env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-python-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-python-task.yml index 378a4eec..8f0ccb78 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-python-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-python-task.yml @@ -2,7 +2,7 @@ name: Check Python env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-yaml-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-yaml-task.yml index 214be93d..490cda44 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-yaml-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-yaml-task.yml @@ -2,7 +2,7 @@ name: Check YAML env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml index bd68a719..03239adf 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml @@ -2,7 +2,7 @@ name: Deploy Website env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" on: diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-mkdocs-poetry.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-mkdocs-poetry.yml index 6cb3e289..4a4febbf 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-mkdocs-poetry.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-mkdocs-poetry.yml @@ -2,7 +2,7 @@ name: Deploy Website env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-mkdocs-versioned-poetry.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-mkdocs-versioned-poetry.yml index 0b40ce54..44d65e6b 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-mkdocs-versioned-poetry.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/deploy-mkdocs-versioned-poetry.yml @@ -2,7 +2,7 @@ name: Deploy Website env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" on: diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/spell-check-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/spell-check-task.yml index 7db2aeb0..8a7de21a 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/spell-check-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/spell-check-task.yml @@ -2,7 +2,7 @@ name: Spell Check env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml index 6d2210f7..750f705e 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml @@ -4,7 +4,7 @@ name: Test Integration env: # See: https://github.com/actions/setup-go/tree/v2#readme GO_VERSION: "1.17" - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-python-poetry-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-python-poetry-task.yml index 4450fb31..707cce49 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-python-poetry-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-python-poetry-task.yml @@ -2,7 +2,7 @@ name: Test Python env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/deploy-cobra-mkdocs-versioned-poetry.yml b/workflow-templates/deploy-cobra-mkdocs-versioned-poetry.yml index bd68a719..03239adf 100644 --- a/workflow-templates/deploy-cobra-mkdocs-versioned-poetry.yml +++ b/workflow-templates/deploy-cobra-mkdocs-versioned-poetry.yml @@ -2,7 +2,7 @@ name: Deploy Website env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" on: diff --git a/workflow-templates/deploy-mkdocs-poetry.yml b/workflow-templates/deploy-mkdocs-poetry.yml index 6cb3e289..4a4febbf 100644 --- a/workflow-templates/deploy-mkdocs-poetry.yml +++ b/workflow-templates/deploy-mkdocs-poetry.yml @@ -2,7 +2,7 @@ name: Deploy Website env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/deploy-mkdocs-versioned-poetry.yml b/workflow-templates/deploy-mkdocs-versioned-poetry.yml index 0b40ce54..44d65e6b 100644 --- a/workflow-templates/deploy-mkdocs-versioned-poetry.yml +++ b/workflow-templates/deploy-mkdocs-versioned-poetry.yml @@ -2,7 +2,7 @@ name: Deploy Website env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" on: diff --git a/workflow-templates/spell-check-task.yml b/workflow-templates/spell-check-task.yml index 7db2aeb0..8a7de21a 100644 --- a/workflow-templates/spell-check-task.yml +++ b/workflow-templates/spell-check-task.yml @@ -2,7 +2,7 @@ name: Spell Check env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/test-go-integration-task.yml b/workflow-templates/test-go-integration-task.yml index 6d2210f7..750f705e 100644 --- a/workflow-templates/test-go-integration-task.yml +++ b/workflow-templates/test-go-integration-task.yml @@ -4,7 +4,7 @@ name: Test Integration env: # See: https://github.com/actions/setup-go/tree/v2#readme GO_VERSION: "1.17" - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows diff --git a/workflow-templates/test-python-poetry-task.yml b/workflow-templates/test-python-poetry-task.yml index 4450fb31..707cce49 100644 --- a/workflow-templates/test-python-poetry-task.yml +++ b/workflow-templates/test-python-poetry-task.yml @@ -2,7 +2,7 @@ name: Test Python env: - # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python + # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows From f1b830c97622c946e9fae877b1afffb04fa69da1 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 20 Apr 2022 23:50:23 -0700 Subject: [PATCH 3/7] Bump dependencies of documentation website assets These are the versions currently in use in the Arduino Lint repository. --- workflow-templates/assets/cobra/docsgen/go.mod | 2 +- workflow-templates/deploy-mkdocs-poetry.md | 4 ++-- workflow-templates/deploy-mkdocs-versioned-poetry.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/workflow-templates/assets/cobra/docsgen/go.mod b/workflow-templates/assets/cobra/docsgen/go.mod index eb871d1e..9f453298 100644 --- a/workflow-templates/assets/cobra/docsgen/go.mod +++ b/workflow-templates/assets/cobra/docsgen/go.mod @@ -8,5 +8,5 @@ replace MODULE_NAME => ../ require ( MODULE_NAME v0.0.0 - github.com/spf13/cobra v1.2.1 + github.com/spf13/cobra v1.4.0 ) diff --git a/workflow-templates/deploy-mkdocs-poetry.md b/workflow-templates/deploy-mkdocs-poetry.md index a6bb43a1..d5d1d4fe 100644 --- a/workflow-templates/deploy-mkdocs-poetry.md +++ b/workflow-templates/deploy-mkdocs-poetry.md @@ -27,14 +27,14 @@ https://python-poetry.org/docs/#installation If your project does not already use Poetry, you can initialize the [`pyproject.toml`](https://python-poetry.org/docs/pyproject/) file using these commands: ``` -poetry init --python="^3.9" --dev-dependency="mkdocs@^1.2.3" --dev-dependency="mkdocs-material@^8.1.5" --dev-dependency="mdx_truly_sane_lists@^1.2" +poetry init --python="^3.9" --dev-dependency="mkdocs@^1.3.0" --dev-dependency="mkdocs-material@^8.2.11" --dev-dependency="mdx_truly_sane_lists@^1.2" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "mkdocs@^1.2.3" "mkdocs-material@^8.1.5" "mdx_truly_sane_lists@^1.2" +poetry add --dev "mkdocs@^1.3.0" "mkdocs-material@^8.2.11" "mdx_truly_sane_lists@^1.2" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files. diff --git a/workflow-templates/deploy-mkdocs-versioned-poetry.md b/workflow-templates/deploy-mkdocs-versioned-poetry.md index adc0a0b4..764bfaeb 100644 --- a/workflow-templates/deploy-mkdocs-versioned-poetry.md +++ b/workflow-templates/deploy-mkdocs-versioned-poetry.md @@ -33,7 +33,7 @@ See the ["Deploy Website" workflow (MkDocs, Poetry) documentation](deploy-mkdocs 1. Run this command: ``` - poetry add --dev "gitpython@^3.1.26" "mike@^1.1.2" + poetry add --dev "gitpython@^3.1.27" "mike@^1.1.2" ``` 1. Commit the resulting `pyproject.toml` and `poetry.lock` files. From 39a96b4b50a859778eb711b725704204184d1dda Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 20 Apr 2022 23:52:17 -0700 Subject: [PATCH 4/7] Bump `actions/setup-go` to v3 --- workflow-templates/check-go-dependencies-task.yml | 6 +++--- workflow-templates/check-go-task.yml | 12 ++++++------ .../.github/workflows/check-go-dependencies-task.yml | 6 +++--- .../.github/workflows/check-go-task.yml | 12 ++++++------ .../workflows/release-go-crosscompile-task.yml | 4 ++-- .../.github/workflows/test-go-integration-task.yml | 4 ++-- .../.github/workflows/test-go-task.yml | 4 ++-- workflow-templates/release-go-crosscompile-task.yml | 4 ++-- workflow-templates/test-go-integration-task.yml | 4 ++-- workflow-templates/test-go-task.yml | 4 ++-- 10 files changed, 30 insertions(+), 30 deletions(-) diff --git a/workflow-templates/check-go-dependencies-task.yml b/workflow-templates/check-go-dependencies-task.yml index c7ca5527..9266b909 100644 --- a/workflow-templates/check-go-dependencies-task.yml +++ b/workflow-templates/check-go-dependencies-task.yml @@ -2,7 +2,7 @@ name: Check Go Dependencies env: - # See: https://github.com/actions/setup-go/tree/v2#readme + # See: https://github.com/actions/setup-go/tree/v3#readme GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows @@ -76,7 +76,7 @@ jobs: version: 3.x - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} @@ -126,7 +126,7 @@ jobs: version: 3.x - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} diff --git a/workflow-templates/check-go-task.yml b/workflow-templates/check-go-task.yml index 57ab156a..813d1620 100644 --- a/workflow-templates/check-go-task.yml +++ b/workflow-templates/check-go-task.yml @@ -2,7 +2,7 @@ name: Check Go env: - # See: https://github.com/actions/setup-go/tree/v2#readme + # See: https://github.com/actions/setup-go/tree/v3#readme GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows @@ -71,7 +71,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} @@ -105,7 +105,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} @@ -142,7 +142,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} @@ -179,7 +179,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} @@ -216,7 +216,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-dependencies-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-dependencies-task.yml index c7ca5527..9266b909 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-dependencies-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-dependencies-task.yml @@ -2,7 +2,7 @@ name: Check Go Dependencies env: - # See: https://github.com/actions/setup-go/tree/v2#readme + # See: https://github.com/actions/setup-go/tree/v3#readme GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows @@ -76,7 +76,7 @@ jobs: version: 3.x - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} @@ -126,7 +126,7 @@ jobs: version: 3.x - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-task.yml index 57ab156a..813d1620 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/check-go-task.yml @@ -2,7 +2,7 @@ name: Check Go env: - # See: https://github.com/actions/setup-go/tree/v2#readme + # See: https://github.com/actions/setup-go/tree/v3#readme GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows @@ -71,7 +71,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} @@ -105,7 +105,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} @@ -142,7 +142,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} @@ -179,7 +179,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} @@ -216,7 +216,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml index 67d5a5e6..dfd76998 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml @@ -9,7 +9,7 @@ env: # The project's folder on Arduino's download server for uploading builds AWS_PLUGIN_TARGET: TODO ARTIFACT_NAME: dist - # See: https://github.com/actions/setup-go/tree/v2#readme + # See: https://github.com/actions/setup-go/tree/v3#readme GO_VERSION: "1.17" on: @@ -36,7 +36,7 @@ jobs: changelog-file-path: "${{ env.DIST_DIR }}/CHANGELOG.md" - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml index 750f705e..65746a73 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml @@ -2,7 +2,7 @@ name: Test Integration env: - # See: https://github.com/actions/setup-go/tree/v2#readme + # See: https://github.com/actions/setup-go/tree/v3#readme GO_VERSION: "1.17" # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" @@ -78,7 +78,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml index 91d24f96..72ebe382 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml @@ -2,7 +2,7 @@ name: Test Go env: - # See: https://github.com/actions/setup-go/tree/v2#readme + # See: https://github.com/actions/setup-go/tree/v3#readme GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows @@ -81,7 +81,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} diff --git a/workflow-templates/release-go-crosscompile-task.yml b/workflow-templates/release-go-crosscompile-task.yml index 67d5a5e6..dfd76998 100644 --- a/workflow-templates/release-go-crosscompile-task.yml +++ b/workflow-templates/release-go-crosscompile-task.yml @@ -9,7 +9,7 @@ env: # The project's folder on Arduino's download server for uploading builds AWS_PLUGIN_TARGET: TODO ARTIFACT_NAME: dist - # See: https://github.com/actions/setup-go/tree/v2#readme + # See: https://github.com/actions/setup-go/tree/v3#readme GO_VERSION: "1.17" on: @@ -36,7 +36,7 @@ jobs: changelog-file-path: "${{ env.DIST_DIR }}/CHANGELOG.md" - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} diff --git a/workflow-templates/test-go-integration-task.yml b/workflow-templates/test-go-integration-task.yml index 750f705e..65746a73 100644 --- a/workflow-templates/test-go-integration-task.yml +++ b/workflow-templates/test-go-integration-task.yml @@ -2,7 +2,7 @@ name: Test Integration env: - # See: https://github.com/actions/setup-go/tree/v2#readme + # See: https://github.com/actions/setup-go/tree/v3#readme GO_VERSION: "1.17" # See: https://github.com/actions/setup-python/tree/v3#available-versions-of-python PYTHON_VERSION: "3.9" @@ -78,7 +78,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} diff --git a/workflow-templates/test-go-task.yml b/workflow-templates/test-go-task.yml index 91d24f96..72ebe382 100644 --- a/workflow-templates/test-go-task.yml +++ b/workflow-templates/test-go-task.yml @@ -2,7 +2,7 @@ name: Test Go env: - # See: https://github.com/actions/setup-go/tree/v2#readme + # See: https://github.com/actions/setup-go/tree/v3#readme GO_VERSION: "1.17" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows @@ -81,7 +81,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} From fa31427d00788c5fa3a8747251e64e1b06131017 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 20 Apr 2022 23:53:20 -0700 Subject: [PATCH 5/7] Bump Python asset dependencies These are the state of the art versions, already in use in the actively maintained tooling projects. --- workflow-templates/check-python-task.md | 4 ++-- workflow-templates/test-go-integration-task.md | 4 ++-- workflow-templates/test-python-poetry-task.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/workflow-templates/check-python-task.md b/workflow-templates/check-python-task.md index d3623cf6..034c7dfa 100644 --- a/workflow-templates/check-python-task.md +++ b/workflow-templates/check-python-task.md @@ -31,14 +31,14 @@ https://python-poetry.org/docs/#installation If your project does not already use Poetry, you can initialize the [`pyproject.toml`](https://python-poetry.org/docs/pyproject/) file using these commands: ``` -poetry init --python="^3.9" --dev-dependency="black@^21.12b0" --dev-dependency="flake8@^4.0.1" --dev-dependency="pep8-naming@^0.12.1" +poetry init --python="^3.9" --dev-dependency="black@^22.3" --dev-dependency="flake8@^4.0.1" --dev-dependency="pep8-naming@^0.12.1" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "black@^21.12b0" "flake8@^4.0.1" "pep8-naming@^0.12.1" +poetry add --dev "black@^22.3" "flake8@^4.0.1" "pep8-naming@^0.12.1" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files. diff --git a/workflow-templates/test-go-integration-task.md b/workflow-templates/test-go-integration-task.md index 4d6e90bc..dc3f2e6f 100644 --- a/workflow-templates/test-go-integration-task.md +++ b/workflow-templates/test-go-integration-task.md @@ -35,14 +35,14 @@ https://python-poetry.org/docs/#installation If your project does not already use Poetry, you can initialize the [`pyproject.toml`](https://python-poetry.org/docs/pyproject/) file using these commands: ``` -poetry init --python="^3.9" --dev-dependency="pytest@^6.2.5" --dev-dependency="invoke@^1.5.0" +poetry init --python="^3.9" --dev-dependency="pytest@^7.1.2" --dev-dependency="invoke@^1.7.0" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "pytest@^6.2.5" "invoke@^1.5.0" +poetry add --dev "pytest@^7.1.2" "invoke@^1.7.0" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files. diff --git a/workflow-templates/test-python-poetry-task.md b/workflow-templates/test-python-poetry-task.md index ea9c2592..9ef0dc69 100644 --- a/workflow-templates/test-python-poetry-task.md +++ b/workflow-templates/test-python-poetry-task.md @@ -33,14 +33,14 @@ https://python-poetry.org/docs/#installation If your project does not already use Poetry, you can initialize the [`pyproject.toml`](https://python-poetry.org/docs/pyproject/) file using these commands: ``` -poetry init --python="^3.9" --dev-dependency="pytest@^6.2.5" +poetry init --python="^3.9" --dev-dependency="pytest@^7.1.2" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "pytest@^6.2.5" +poetry add --dev "pytest@^7.1.2" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files. From f3291c6e4c706be12cc0ad5096b88f85298ee282 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 20 Apr 2022 23:54:45 -0700 Subject: [PATCH 6/7] Bump semver-tool to 3.2.0 This was the latest version at the time the "Release Tag" workflow was written. These other workflows were using an older version. The 3.2.0 is already outdated, and ideally all the workflows would be updated, but this is the version has been well tested and used for some time in the "Release Tag" workflow. So this is intended to at least bring all the workflows into sync. --- .../.github/workflows/release-go-crosscompile-task.yml | 2 +- .../.github/workflows/release-go-task.yml | 2 +- workflow-templates/release-go-crosscompile-task.yml | 2 +- workflow-templates/release-go-task.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml index dfd76998..49228d44 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-crosscompile-task.yml @@ -147,7 +147,7 @@ jobs: # to implement auto pre-release based on tag id: prerelease run: | - wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.0.0.zip + wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.2.0.zip unzip -p /tmp/3.0.0.zip semver-tool-3.0.0/src/semver >/tmp/semver && chmod +x /tmp/semver if [[ "$(/tmp/semver get prerel "${GITHUB_REF/refs\/tags\//}")" ]]; then echo "::set-output name=IS_PRE::true"; fi diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-task.yml index 0dd3a98d..932dd945 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-task.yml @@ -140,7 +140,7 @@ jobs: # to implement auto pre-release based on tag id: prerelease run: | - wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.0.0.zip + wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.2.0.zip unzip -p /tmp/3.0.0.zip semver-tool-3.0.0/src/semver >/tmp/semver && chmod +x /tmp/semver if [[ "$(/tmp/semver get prerel "${GITHUB_REF/refs\/tags\//}")" ]]; then echo "::set-output name=IS_PRE::true"; fi diff --git a/workflow-templates/release-go-crosscompile-task.yml b/workflow-templates/release-go-crosscompile-task.yml index dfd76998..49228d44 100644 --- a/workflow-templates/release-go-crosscompile-task.yml +++ b/workflow-templates/release-go-crosscompile-task.yml @@ -147,7 +147,7 @@ jobs: # to implement auto pre-release based on tag id: prerelease run: | - wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.0.0.zip + wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.2.0.zip unzip -p /tmp/3.0.0.zip semver-tool-3.0.0/src/semver >/tmp/semver && chmod +x /tmp/semver if [[ "$(/tmp/semver get prerel "${GITHUB_REF/refs\/tags\//}")" ]]; then echo "::set-output name=IS_PRE::true"; fi diff --git a/workflow-templates/release-go-task.yml b/workflow-templates/release-go-task.yml index 0dd3a98d..932dd945 100644 --- a/workflow-templates/release-go-task.yml +++ b/workflow-templates/release-go-task.yml @@ -140,7 +140,7 @@ jobs: # to implement auto pre-release based on tag id: prerelease run: | - wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.0.0.zip + wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.2.0.zip unzip -p /tmp/3.0.0.zip semver-tool-3.0.0/src/semver >/tmp/semver && chmod +x /tmp/semver if [[ "$(/tmp/semver get prerel "${GITHUB_REF/refs\/tags\//}")" ]]; then echo "::set-output name=IS_PRE::true"; fi From f95f6ba06a8f417fb4b4274ae641ded27fb63998 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 20 Apr 2022 23:58:58 -0700 Subject: [PATCH 7/7] Bump `codecov/codecov-action` to v3 --- .../workflow-template-copies/.github/workflows/test-go-task.yml | 2 +- workflow-templates/test-go-task.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml index 72ebe382..1cd1ca3f 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml @@ -98,7 +98,7 @@ jobs: - name: Send unit tests coverage to Codecov if: runner.os == 'Linux' - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: file: ${{ matrix.module.path }}coverage_unit.txt flags: ${{ matrix.module.codecov-flags }} diff --git a/workflow-templates/test-go-task.yml b/workflow-templates/test-go-task.yml index 72ebe382..1cd1ca3f 100644 --- a/workflow-templates/test-go-task.yml +++ b/workflow-templates/test-go-task.yml @@ -98,7 +98,7 @@ jobs: - name: Send unit tests coverage to Codecov if: runner.os == 'Linux' - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: file: ${{ matrix.module.path }}coverage_unit.txt flags: ${{ matrix.module.codecov-flags }}