Skip to content

Commit

Permalink
gRPC: added CleanDownloadCacheDirectory rpc call
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Mar 25, 2024
1 parent 67d2c57 commit 0ba2a29
Show file tree
Hide file tree
Showing 5 changed files with 710 additions and 518 deletions.
7 changes: 7 additions & 0 deletions commands/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (

"github.com/arduino/arduino-cli/commands"
"github.com/arduino/arduino-cli/commands/board"
"github.com/arduino/arduino-cli/commands/cache"
"github.com/arduino/arduino-cli/commands/cmderrors"
"github.com/arduino/arduino-cli/commands/compile"
"github.com/arduino/arduino-cli/commands/core"
Expand Down Expand Up @@ -581,3 +582,9 @@ func (s *ArduinoCoreServerImpl) Monitor(stream rpc.ArduinoCoreService_MonitorSer
}
return nil
}

// CleanDownloadCacheDirectory FIXMEDOC
func (s *ArduinoCoreServerImpl) CleanDownloadCacheDirectory(ctx context.Context, req *rpc.CleanDownloadCacheDirectoryRequest) (*rpc.CleanDownloadCacheDirectoryResponse, error) {
resp, err := cache.CleanDownloadCacheDirectory(ctx, req)
return resp, convertErrorToRPCStatus(err)
}
7 changes: 4 additions & 3 deletions internal/cli/cache/clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
package cache

import (
"context"
"os"

"github.com/arduino/arduino-cli/internal/cli/configuration"
"github.com/arduino/arduino-cli/commands/cache"

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-outdated (./)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-outdated (./)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-license-headers (./)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-license-headers (./)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-formatting (./)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-formatting (./)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / build

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-cache

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-cache

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-deps

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-deps

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-easyjson-generated-files

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check-easyjson-generated-files

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / links

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / links

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (macos-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (macos-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (macos-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, cache)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, cache)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, cache)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, board)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, board)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, board)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_1)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_1)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_1)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (macos-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (macos-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (macos-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_3)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_3)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_3)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_2)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_2)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_2)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_4)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_4)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, compile_4)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, completion)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, completion)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, completion)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, core)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, lib)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, core)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, lib)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, core)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, lib)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, config)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, config)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, config)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, daemon)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, daemon)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, daemon)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, debug)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, debug)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, debug)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, profiles)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, profiles)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, profiles)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, board)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, board)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, board)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, upload)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, upload)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, upload)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, upgrade)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, upgrade)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, upgrade)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, cache)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, cache)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, cache)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, main)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, main)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, main)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_2)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_2)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_2)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, monitor)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, monitor)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, monitor)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, outdated)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, outdated)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, outdated)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, sketch)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, sketch)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, sketch)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, update)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, update)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, update)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, upload_mock)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, upload_mock)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (ubuntu-latest, upload_mock)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_1)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_1)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_1)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / check

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_3)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_3)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_3)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, config)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, config)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, config)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, core)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, core)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, core)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_4)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_4)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, compile_4)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (windows-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (windows-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (windows-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, completion)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, completion)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, completion)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, cache)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, cache)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, cache)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, debug)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, debug)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, debug)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, daemon)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, daemon)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, daemon)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, board)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, board)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, board)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, lib)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, lib)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, lib)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, sketch)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, sketch)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, sketch)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, monitor)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, monitor)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, monitor)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, daemon)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, daemon)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, daemon)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, main)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, main)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, main)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_1)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_1)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_1)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, lib)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, lib)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, lib)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, update)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, update)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, update)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, core)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, core)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, core)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, monitor)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, monitor)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, monitor)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, outdated)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, outdated)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, outdated)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_3)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_3)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_3)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_2)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_2)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_2)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, upload)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, upload)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, upload)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, config)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, config)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, config)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, completion)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, completion)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, completion)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, debug)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, debug)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, debug)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, update)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, update)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, update)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, upload_mock)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, upload_mock)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, upload_mock)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, upgrade)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, upgrade)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, upgrade)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, main)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, main)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, main)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, profiles)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, profiles)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, profiles)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, sketch)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, sketch)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, sketch)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, upload)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, upload)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, upload)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (windows-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (windows-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test (windows-latest)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_4)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_4)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, compile_4)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, profiles)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, profiles)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, profiles)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, upload_mock)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, upload_mock)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (macos-latest, upload_mock)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, upgrade)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, upgrade)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, upgrade)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, outdated)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, outdated)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:

Check failure on line 22 in internal/cli/cache/clean.go

View workflow job for this annotation

GitHub Actions / test-integration (windows-latest, outdated)

no required module provides package github.com/arduino/arduino-cli/commands/cache; to add it:
"github.com/arduino/arduino-cli/internal/cli/feedback"
rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
Expand All @@ -39,8 +41,7 @@ func initCleanCommand() *cobra.Command {
func runCleanCommand(cmd *cobra.Command, args []string) {
logrus.Info("Executing `arduino-cli cache clean`")

cachePath := configuration.DownloadsDir(configuration.Settings)
err := cachePath.RemoveAll()
_, err := cache.CleanDownloadCacheDirectory(context.Background(), &rpc.CleanDownloadCacheDirectoryRequest{})
if err != nil {
feedback.Fatal(tr("Error cleaning caches: %v", err), feedback.ErrGeneric)
}
Expand Down
Loading

0 comments on commit 0ba2a29

Please sign in to comment.