digitalocean / packer-plugin-digitalocean

Packer plugin for DigitalOcean Builder
https://developer.hashicorp.com/packer/integrations/digitalocean/digitalocean
Mozilla Public License 2.0
20 stars 12 forks source link

Only run linting steps on Linux. #63

Closed andrewsomething closed 1 year ago

andrewsomething commented 1 year ago

Some small CI fixups. Due to some false positives from goimports on Windows, this makes it so that it only runs on Ubuntu. There's not much value in linting on multiple platforms. Actual unit tests are still run everywhere.

See: https://github.com/golangci/golangci-lint/issues/635 & https://github.com/golangci/golangci-lint/issues/580

https://github.com/digitalocean/packer-plugin-digitalocean/runs/7437869229?check_suite_focus=true#step:7:28