mirror of
https://github.com/appleboy/drone-scp.git
synced 2026-06-04 10:15:05 +08:00
e2a386e6ec
- Update golangci-lint action to v7 and specify version v2.0 in the GitHub testing workflow - Add `.golangci.yaml` configuration file with various linters and settings - Refactor string concatenation method for destination file name in `plugin.go` - Use `strings.ReplaceAll` for replacing spaces in target paths in `plugin.go` - Change error handling to use `errors.As` for type assertion in `plugin.go` Signed-off-by: appleboy <appleboy.tw@gmail.com>