Commit Graph

46 Commits

Author SHA1 Message Date
Mateusz Filipowicz
51d523f334 chore: use input-based bug report template 2025-02-18 15:48:43 +01:00
Mateusz Filipowicz
0667fc722a chore: disable blank issues 2025-02-18 15:44:02 +01:00
Mateusz Filipowicz
b54dbc5e6d chore: add issue templates 2025-02-18 15:36:57 +01:00
dependabot[bot]
103da3baaa chore(deps): bump fgrosse/go-coverage-report from 1.1.1 to 1.2.0
Bumps [fgrosse/go-coverage-report](https://github.com/fgrosse/go-coverage-report) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/fgrosse/go-coverage-report/releases)
- [Changelog](https://github.com/fgrosse/go-coverage-report/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fgrosse/go-coverage-report/compare/v1.1.1...v1.2.0)

---
updated-dependencies:
- dependency-name: fgrosse/go-coverage-report
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 18:01:36 +01:00
Mateusz Filipowicz
9f4fe33d07 ci: code coverage reporting in PR 2025-02-09 14:24:03 +01:00
Mateusz Filipowicz
6d239a890b ci: enable coverage generation 2025-02-09 14:19:00 +01:00
Mateusz Filipowicz
32f8cbf789 chore: use GPG for signing release 2025-02-09 10:34:14 +01:00
Mateusz Filipowicz
7675214e5b chore: fix release yml name for changelog generation configuration 2025-02-09 05:00:04 +01:00
Mateusz Filipowicz
7b61fb7857 ci: fetch full depth when releasing 2025-02-09 04:55:45 +01:00
Mateusz Filipowicz
e629288cba feat(codegen): rename "fields" to "codegen" for more meaningful naming 2025-02-07 17:42:05 +01:00
Mateusz Filipowicz
399c5cde86 ci: apply permissions and linting 2025-02-07 17:42:05 +01:00
Mateusz Filipowicz
0ad61e976a ci: run generation on pull request to ensure it works properly 2025-02-07 15:48:17 +01:00
Mateusz Filipowicz
d8f38a84e8 chore: applying linter fixes 2025-02-07 15:41:34 +01:00
Mateusz Filipowicz
384cd0a76f ci: add Unifi version used when updating generated controlled modules to commit and PR messages 2025-02-07 15:41:34 +01:00
Mateusz Filipowicz
a4652c03c2 ci: generate changelog based on labels 2025-02-07 15:41:34 +01:00
Mateusz Filipowicz
3db2b31f6f ci: assign automatically labels to PRs based on conventional commits 2025-02-07 15:41:34 +01:00
dependabot[bot]
dc9df9cf2e Bump golangci/golangci-lint-action from 3 to 6 (#209)
* Bump golangci/golangci-lint-action from 3 to 6

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v6)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update config

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Spence <jspence@anduril.com>
2024-11-22 10:59:49 +11:00
dependabot[bot]
9ecd0f357a Bump peter-evans/create-pull-request from 6 to 7 (#221)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-22 10:50:20 +11:00
dependabot[bot]
0f8f47edb0 Bump goreleaser/goreleaser-action from 5 to 6 (#222)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5 to 6.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-22 10:46:52 +11:00
dependabot[bot]
679fcd99e9 Bump peter-evans/create-pull-request from 5 to 6 (#189)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5 to 6.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v5...v6)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 23:40:51 -08:00
dependabot[bot]
854bc55aad Bump actions/setup-go from 4 to 5 (#181)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 10:42:21 +11:00
dependabot[bot]
1abb3b1d66 Bump goreleaser/goreleaser-action from 4 to 5 (#168)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 4 to 5.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-10 09:04:09 +11:00
dependabot[bot]
92ceadad81 Bump actions/checkout from 3 to 4 (#166)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-10 09:03:41 +11:00
Joshua Spence
206f4be940 Make golangci-lint more strict (#150)
* Reformat some YAML files

* Make `golangci-lint` more strict
2023-06-23 09:00:12 +10:00
Joshua Spence
5f0ca38414 Add yamllint (#149) 2023-06-22 11:28:45 +10:00
dependabot[bot]
3068667454 Bump peter-evans/create-pull-request from 4 to 5 (#122)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 10:19:57 +10:00
dependabot[bot]
6ae595aa5c Bump actions/setup-go from 3 to 4 (#116)
* Bump actions/setup-go from 3 to 4

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Don't explicitly enable cache for `actions/setup-go`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Spence <josh@spence.com.au>
2023-03-22 10:27:37 +11:00
Joshua Spence
57fb86b68c Fix setup-go in generate workflow (#112)
* Update generate.yaml

* Update generate.yaml
2023-03-04 13:17:13 +11:00
Joshua Spence
c72020d1b8 Pass GITHUB_TOKEN to goreleaser 2023-02-28 09:51:32 +11:00
Joshua Spence
ab036e4487 Fix build (#109)
See golangci/golangci-lint-action#677.
2023-02-28 09:49:07 +11:00
Joshua Spence
0f60628aa3 Fix workflow 2023-02-28 09:41:34 +11:00
Joshua Spence
b6f2d95b18 Add goreleaser config (#107)
Notes for future self:

  - **To run a "local" release:** `goreleaser release --snapshot --clean`
  - **To check configuration file:** `goreleaser check`
  - **To create a new release:** `goreleaser release`
2023-02-27 09:41:38 +11:00
Joshua Spence
0e2aa4d1cc Fix lint (#106) 2023-02-23 14:36:01 +11:00
dependabot[bot]
bd7f830958 Bump actions/checkout from 3.2.0 to 3.3.0 (#103)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 10:08:18 +11:00
dependabot[bot]
d00ffed580 Bump actions/checkout from 3.1.0 to 3.2.0 (#101)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 08:27:25 +11:00
dependabot[bot]
f525ca7975 Bump actions/checkout from 2 to 3.1.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 15:38:14 -04:00
dependabot[bot]
a42eb6a918 Bump actions/setup-go from 2 to 3 (#69)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 11:51:48 +10:00
dependabot[bot]
0cad300755 Bump actions/cache from 2 to 3 (#66)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 12:09:17 +11:00
dependabot[bot]
4ac948956e Bump peter-evans/create-pull-request from 3 to 4 (#67)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 13:56:56 +11:00
Joshua Spence
ca31cda3ad Automatically update the controller version (#57)
Create a new GitHub Actions workflow to submit a pull request for new controller versions.
2022-03-06 09:42:24 +11:00
dependabot[bot]
a8ee65a4b5 Bump actions/checkout from 2 to 3 (#62)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 13:00:07 +11:00
dependabot[bot]
a0bb4120d8 Bump golangci/golangci-lint-action from 2 to 3 (#61)
* Bump golangci/golangci-lint-action from 2 to 3

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Run `go get` before `golangci-lint`

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Spence <josh@spence.com.au>
2022-02-28 13:49:11 +11:00
Joshua Spence
ff2854e943 Implement Stringer interface for DeviceState (#49)
* Implement `Stringer` interface for `DeviceState`

If device adoption fails the error message isn't very readable at the moment.

```
Error: unexpected state '10', wanted target '2'.
```

* Use `stringer`
2021-09-24 13:55:12 +10:00
Joshua Spence
510bd417c2 Add generate job 2021-06-29 17:43:00 -04:00
Joshua Spence
496fcdf07c Add GitHub Actions 2021-06-29 17:43:00 -04:00
John Losito
020dad41e7 Allow dependabot to check go modules daily 2020-10-20 08:44:46 -04:00