Skip to content
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

Modernize go dev environment #162

Merged
merged 6 commits into from
Sep 4, 2023

Conversation

agners
Copy link
Member

@agners agners commented Sep 4, 2023

This modernizes the development environment for OS Agent.

  • Use bookworm as dev container
  • Remove deprecated API calls
  • Fixes code issues which allows to enable linters
  • Enable more golangci-lint linters
  • Bump Go to 1.19

This allows to enable errorlint.
The cmdline.txt is a system configuration, those are typically readable
on a Linux system. The file is on a FAT partition anyways, so the file
permissions are mandated by mount options anyways.
Enable the preset bugs plus enable the default ones which are not part
of the bugs preset explicitly.
@agners agners merged commit 592c913 into home-assistant:main Sep 4, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants