Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arduino/arduino-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.0-rc.1
Choose a base ref
...
head repository: arduino/arduino-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing 325 changed files with 158,041 additions and 10,572 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-easyjson.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Check easyjson generated files

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.23"
GO_VERSION: "1.24"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
2 changes: 1 addition & 1 deletion .github/workflows/check-go-dependencies-task.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: Check Go Dependencies

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.23"
GO_VERSION: "1.24"

# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
on:
6 changes: 3 additions & 3 deletions .github/workflows/check-go-task.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: Check Go

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.23"
GO_VERSION: "1.24"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
@@ -114,9 +114,9 @@ jobs:
version: 3.x

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v8
with:
version: v1.63
version: v2.1.0

- name: Check style
env:
2 changes: 1 addition & 1 deletion .github/workflows/check-i18n-task.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Check Internationalization

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.23"
GO_VERSION: "1.24"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
2 changes: 1 addition & 1 deletion .github/workflows/check-markdown-task.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ env:
# See: https://github.com/actions/setup-node/#readme
NODE_VERSION: 16.x
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.23"
GO_VERSION: "1.24"

# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
on:
2 changes: 1 addition & 1 deletion .github/workflows/check-mkdocs-task.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: Check Website

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.23"
GO_VERSION: "1.24"
# See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
PYTHON_VERSION: "3.9"

2 changes: 1 addition & 1 deletion .github/workflows/check-protobuf-task.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Check Protocol Buffers

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.23"
GO_VERSION: "1.24"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
2 changes: 1 addition & 1 deletion .github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: Deploy Website

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.23"
GO_VERSION: "1.24"
# See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
PYTHON_VERSION: "3.9"

2 changes: 1 addition & 1 deletion .github/workflows/i18n-weekly-pull.yaml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: i18n-weekly-pull

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.23"
GO_VERSION: "1.24"
COVERAGE_ARTIFACT: coverage-data

on:
13 changes: 12 additions & 1 deletion .github/workflows/publish-go-tester-task.yml
Original file line number Diff line number Diff line change
@@ -76,44 +76,55 @@ jobs:
create-artifacts:
needs: package-name-prefix
name: Create artifact ${{ matrix.artifact.name }}
runs-on: ubuntu-latest
runs-on: ${{ matrix.artifact.runner }}

strategy:
matrix:
artifact:
- task: dist:Windows_32bit
path: "*Windows_32bit.zip"
name: Windows_X86-32
runner: ubuntu-latest
- task: dist:Windows_64bit
path: "*Windows_64bit.zip"
name: Windows_X86-64
runner: ubuntu-latest
- task: dist:Linux_32bit
path: "*Linux_32bit.tar.gz"
name: Linux_X86-32
runner: ubuntu-latest
- task: dist:Linux_64bit
path: "*Linux_64bit.tar.gz"
name: Linux_X86-64
runner: ubuntu-latest
- task: dist:Linux_ARMv6
path: "*Linux_ARMv6.tar.gz"
name: Linux_ARMv6
runner: ubuntu-latest
- task: dist:Linux_ARMv7
path: "*Linux_ARMv7.tar.gz"
name: Linux_ARMv7
runner: ubuntu-latest
- task: dist:Linux_ARM64
path: "*Linux_ARM64.tar.gz"
name: Linux_ARM64
runner: ubuntu-latest
- task: dist:macOS_64bit
path: "*macOS_64bit.tar.gz"
name: macOS_64
runner: ubuntu-latest
- task: dist:macOS_ARM64
path: "*macOS_ARM64.tar.gz"
name: macOS_ARM64
runner: ubuntu-24.04-arm
- task: protoc:collect
path: "*_proto.zip"
name: rpc-protocol-files
runner: ubuntu-latest
- task: dist:jsonschema
path: "*configuration.schema.json"
name: configuration-schema
runner: ubuntu-latest

steps:
- name: Checkout repository
37 changes: 23 additions & 14 deletions .github/workflows/release-go-task.yml
Original file line number Diff line number Diff line change
@@ -20,20 +20,29 @@ jobs:
create-release-artifacts:
outputs:
version: ${{ steps.get-version.outputs.version }}
runs-on: ubuntu-latest
runs-on: ${{ matrix.env.runner }}

strategy:
matrix:
os:
- Windows_32bit
- Windows_64bit
- Linux_32bit
- Linux_64bit
- Linux_ARMv6
- Linux_ARMv7
- Linux_ARM64
- macOS_64bit
- macOS_ARM64
env:
- os: Windows_32bit
runner: ubuntu-latest
- os: Windows_64bit
runner: ubuntu-latest
- os: Linux_32bit
runner: ubuntu-latest
- os: Linux_64bit
runner: ubuntu-latest
- os: Linux_ARMv6
runner: ubuntu-latest
- os: Linux_ARMv7
runner: ubuntu-latest
- os: Linux_ARM64
runner: ubuntu-latest
- os: macOS_64bit
runner: ubuntu-latest
- os: macOS_ARM64
runner: ubuntu-24.04-arm

steps:
- name: Checkout repository
@@ -43,7 +52,7 @@ jobs:

- name: Create changelog
# Avoid creating the same changelog for each os
if: matrix.os == 'Windows_32bit'
if: matrix.env.os == 'Windows_32bit'
uses: arduino/create-changelog@v1
with:
tag-regex: '^v[0-9]+\.[0-9]+\.[0-9]+.*$'
@@ -58,7 +67,7 @@ jobs:
version: 3.x

- name: Build
run: task dist:${{ matrix.os }}
run: task dist:${{ matrix.env.os }}

- name: Output Version
id: get-version
@@ -68,7 +77,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: ${{ env.ARTIFACT_NAME }}-${{ matrix.os }}
name: ${{ env.ARTIFACT_NAME }}-${{ matrix.env.os }}
path: ${{ env.DIST_DIR }}

notarize-macos:
4 changes: 2 additions & 2 deletions .github/workflows/test-go-task.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: Test Go

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.23"
GO_VERSION: "1.24"
COVERAGE_ARTIFACT: coverage-data

# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
@@ -205,7 +205,7 @@ jobs:
echo "CODECOV_TOKEN=$CODECOV_TOKEN" >> "$GITHUB_ENV"
- name: Send unit tests coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
token: ${{ env.CODECOV_TOKEN }}
files: ./coverage.txt
Loading