Skip to content

Bump all dependencies to current versions #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-python-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-yaml-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spell-check-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python-poetry-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/assets/cobra/docsgen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// TODO: replace MODULE_NAME with the project's module name
module MODULE_NAME/docsgen

go 1.16
go 1.17

replace MODULE_NAME => ../

require (
MODULE_NAME v0.0.0
github.com/spf13/cobra v1.2.1
github.com/spf13/cobra v1.4.0
)
2 changes: 1 addition & 1 deletion workflow-templates/assets/release-go-task/DistTasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions workflow-templates/check-go-dependencies-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name: Check Go Dependencies

env:
# See: https://github.com/actions/setup-go/tree/v2#readme
GO_VERSION: "1.16"
# 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
on:
Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down
14 changes: 7 additions & 7 deletions workflow-templates/check-go-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name: Check Go

env:
# See: https://github.com/actions/setup-go/tree/v2#readme
GO_VERSION: "1.16"
# 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
on:
Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion workflow-templates/check-mkdocs-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/check-python-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion workflow-templates/check-python-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion workflow-templates/check-yaml-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name: Check Go Dependencies

env:
# See: https://github.com/actions/setup-go/tree/v2#readme
GO_VERSION: "1.16"
# 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
on:
Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name: Check Go

env:
# See: https://github.com/actions/setup-go/tree/v2#readme
GO_VERSION: "1.16"
# 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
on:
Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ 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
GO_VERSION: 1.16
# See: https://github.com/actions/setup-go/tree/v3#readme
GO_VERSION: "1.17"

on:
push:
Expand All @@ -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 }}

Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
name: Test Integration

env:
# See: https://github.com/actions/setup-go/tree/v2#readme
GO_VERSION: "1.16"
# See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python
# 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"

# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
Expand Down Expand Up @@ -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 }}

Expand Down
Loading