Commit Graph

60 Commits

Author SHA1 Message Date
John-Michael Mulesa
1c15569168 feat: add support for running CoreDNS as a Windows service (#7962)
* feat: add support for running CoreDNS as a Windows service

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* Use non-deprecated service check function.

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* refactor: remove deprecated build tags and clean up imports in service files

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* ci: add Windows test workflow and fix log field access in service_windows.go

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* test: implement cross-platform file permission restriction for Windows compatibility in run_test.go

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* refactor: remove Windows-specific icacls test logic and restrict unreadable file test to non-Windows platforms

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* docs: add documentation for -windows-service flag in man page

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

---------

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>
2026-03-26 21:10:53 +02:00
Ville Vesilehto
b7948f1bac ci: add persist-credentials: false to checkouts (#7964) 2026-03-24 10:29:48 -07:00
Ville Vesilehto
406be98739 ci: use go-version-file instead of GITHUB_ENV (#7958) 2026-03-24 00:57:20 -07:00
dependabot[bot]
2effbef23c build(deps): bump actions/setup-go from 6.2.0 to 6.3.0 (#7887) 2026-03-02 16:43:18 +02:00
dependabot[bot]
f5cf4d0639 build(deps): bump actions/checkout from 6.0.1 to 6.0.2 (#7838) 2026-01-26 17:03:56 +02:00
dependabot[bot]
b6c8ac701d build(deps): bump actions/setup-go from 6.1.0 to 6.2.0 (#7832) 2026-01-19 18:00:23 +02:00
dependabot[bot]
01c4d36502 build(deps): bump actions/checkout from 6.0.0 to 6.0.1 (#7741) 2025-12-08 07:43:14 -08:00
dependabot[bot]
2cefcc08c4 build(deps): bump actions/checkout from 5.0.0 to 6.0.0 (#7711)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...1af3b93b68)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  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>
2025-11-24 17:36:59 +02:00
dependabot[bot]
6958fb1233 build(deps): bump actions/setup-go from 6.0.0 to 6.1.0 (#7709) 2025-11-24 16:50:32 +02:00
dependabot[bot]
ddc1878bbd build(deps): bump actions/setup-go from 5.5.0 to 6.0.0 (#7524) 2025-09-08 06:46:41 -07:00
Ville Vesilehto
5720d3ca7d chore(ci): pin workflow dependencies (#7471)
CI workflows which reference "faillint" were missing a version pin.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-08-25 13:08:04 -07:00
dependabot[bot]
9bb1e68b4f build(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#7443) 2025-08-12 07:32:46 +03:00
Yong Tang
ad5a00ba21 Actually invoke make release -f Makefile.release during test (#7338) 2025-05-31 05:32:20 -07:00
Ville Vesilehto
ef1cedcdc8 ci(test-e2e): add Go version setup to workflow (#7309)
Add environment variable setup step for Go version in the e2e tests
job of the GitHub workflow. This ensures consistent Go version usage
across all test jobs and fixes the warning about missing go-version
input.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-05-19 21:10:49 +03:00
dependabot[bot]
5282bcced2 build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 (#7286)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0aaccfd150...d35c59abb0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 14:57:45 +02:00
dependabot[bot]
109ca5223d build(deps): bump actions/setup-go from 5.3.0 to 5.4.0 (#7215)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](f111f3307d...0aaccfd150)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 10:25:00 -04:00
dependabot[bot]
266cc89023 build(deps): bump actions/setup-go from 5.1.0 to 5.3.0 (#7094)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.1.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](41dfa10bad...f111f3307d)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 09:49:32 +01:00
Ben Kochie
87615ff89f Update build (#6988)
* Update Go to latest patch release.
* Fixup go test to use `.go-version`.
* Bump K8s / KIND in integration tests.
* Update golangci-lint.

Signed-off-by: SuperQ <superq@gmail.com>
2024-11-21 10:30:12 -05:00
dependabot[bot]
a08382cae8 build(deps): bump actions/checkout from 4.2.1 to 4.2.2 (#6944)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](eef61447b9...11bd71901b)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 14:00:13 -05:00
dependabot[bot]
912657bd2e build(deps): bump actions/setup-go from 5.0.2 to 5.1.0 (#6943)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0a12ed9d6a...41dfa10bad)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 13:58:14 -05:00
dependabot[bot]
ee4581fb40 build(deps): bump actions/checkout from 4.2.0 to 4.2.1 (#6926)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](d632683dd7...eef61447b9)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-24 10:06:20 -04:00
dependabot[bot]
dc144c68da build(deps): bump actions/checkout from 4.1.7 to 4.2.0 (#6894)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](692973e3d9...d632683dd7)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 15:53:10 +02:00
dependabot[bot]
86bc366f41 build(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#6839)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a5ac7e51b4...692973e3d9)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-18 08:52:40 +02:00
Ben Kochie
d85c3b648d Update build (#6836)
* Update build

* Update Go to 1.23.0
* Update minimum Go version to 1.22.
* Update golangci-lint to v1.60.1.
* Make GitHub action version hash/tag consistent.
* Increase dependabot open PRs from 5 to 20.

Signed-off-by: SuperQ <superq@gmail.com>

* Fixup lint issue.

Signed-off-by: SuperQ <superq@gmail.com>

---------

Signed-off-by: SuperQ <superq@gmail.com>
2024-08-18 07:13:53 +02:00
Jason Du
5556180ac6 Repo controlled Go version (#6526)
* Repo controlled Go version

Signed-off-by: xdu31 <jasonxdu@amazon.com>

* Bump to go1.21.8 for CVE update

Signed-off-by: xdu31 <jasonxdu@amazon.com>

---------

Signed-off-by: xdu31 <jasonxdu@amazon.com>
2024-03-07 14:23:13 -05:00
dependabot[bot]
2aaf820db3 build(deps): bump actions/setup-go from 4 to 5 (#6433)
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-12 08:43:58 -05:00
dependabot[bot]
96d3e09c7d build(deps): bump actions/checkout from 3 to 4 (#6302) 2023-09-04 06:56:23 -07:00
P. Radha Krishna
141c760846 Updated go versions used in workflows to 1.21 (#6260)
* Updated go versions used in workflows to 1.21

Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
Co-authored-by: RadhaKrishna <radha.peteti@appdynamics.com>
2023-08-12 07:02:22 -07:00
Ondřej Benkovský
8224303b09 install faillint properly (#6194)
* install faillint properly

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>

* fixup! install faillint properly

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>

---------

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
2023-07-05 17:53:02 +02:00
Ben Kochie
7e6d3bb533 Update workflow versioning (#6165)
* Use major version pinning for actions to reduce dependeabot churn.
* Use tilde matching for Go versions to use the latest patch release.
* Checkout before installing Go to fix go module caching.

Signed-off-by: SuperQ <superq@gmail.com>
2023-06-18 11:23:25 +02:00
dependabot[bot]
aef4bd2d02 build(deps): bump actions/setup-go from 4.0.0 to 4.0.1 (#6094)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 14:38:22 +02:00
Ayato Tokubi
83e94a91b9 Bump golang to 1.20.0 (#6070)
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2023-05-04 10:47:18 +02:00
dependabot[bot]
747061632b build(deps): bump actions/setup-go from 3.5.0 to 4.0.0 (#5976)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.5.0 to 4.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](6edd4406fa...4d34df0c23)

---
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-03-22 11:38:59 -04:00
dependabot[bot]
dd9ee4d000 build(deps): bump actions/setup-go from 3.4.0 to 3.5.0 (#5812) 2022-12-20 05:54:00 -08:00
dependabot[bot]
3cc986693d build(deps): bump actions/setup-go from 3.3.1 to 3.4.0 (#5788)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](c4a742cab1...d0a58c1c4d)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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>
2022-12-06 10:52:51 -05:00
dependabot[bot]
469b88ae27 build(deps): bump actions/setup-go from 3.3.0 to 3.3.1 (#5716)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](268d8c0ca0...c4a742cab1)

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

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>
2022-10-25 10:45:01 -04:00
dependabot[bot]
8d7ce0c155 build(deps): bump actions/checkout from 3 to 3.1.0 (#5677)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 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/v3...93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8)

---
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>
2022-10-10 10:02:36 -04:00
dependabot[bot]
8366344529 build(deps): bump actions/setup-go from 3.2.1 to 3.3.0 (#5591)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](84cbf80943...268d8c0ca0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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>
2022-08-29 08:01:40 -07:00
Yong Tang
c7fe4a0c4d Bump golang to 1.19 (#5564)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

Fix golang lint

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-08-10 09:26:44 -07:00
dependabot[bot]
3b163237b3 build(deps): bump actions/setup-go from 3 to 3.2.1 (#5522) 2022-07-18 06:33:45 -07:00
dependabot[bot]
d9ccb04e9d build(deps): bump actions/setup-go from 3.1.0 to 3.2.0 (#5420) 2022-05-30 07:30:06 -07:00
dependabot[bot]
368b276f41 build(deps): bump actions/setup-go from 3.0.0 to 3.1.0 (#5384)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](f6164bd8c8...fcdc43634a)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 09:37:30 -04:00
dependabot[bot]
107ad75c02 build(deps): bump actions/checkout from 3.0.1 to 3.0.2 (#5340)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](dcd71f6466...2541b1294d)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 07:41:40 -07:00
dependabot[bot]
11f5bc2e64 build(deps): bump actions/checkout from 3.0.0 to 3.0.1 (#5324)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a12a3943b4...dcd71f6466)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 06:36:06 -07:00
Yong Tang
d89f899dc4 Bump golang version to 1.18 (#5270) 2022-03-18 03:37:51 -07:00
dependabot[bot]
267ce8a820 build(deps): bump actions/checkout from 2.4.0 to 3 (#5238)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](ec3a7ce113...a12a3943b4)

---
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-07 07:05:33 -08:00
dependabot[bot]
eaf5570dc7 build(deps): bump actions/setup-go from 2.2.0 to 3 (#5239)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.2.0 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](bfdd3570ce...f6164bd8c8)

---
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-03-07 05:37:59 -08:00
nathannaveen
f5acb9d12a Updated workflow permissions. (#5216) 2022-03-02 04:47:08 -08:00
Yong Tang
6c26446bb7 Fix pinning of github actions (#5213)
It is recommended to pin github actions with hash so that an action
is not posing an unknown security risk (as the actions itself is not
written by us).

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-03-01 11:32:00 -08:00
Ben Kochie
7d9ad0872c Cleanup yaml formatting (#5151)
* Add yamllint config.
* Add yamllint workflow.
* Cleanup linting issues.
* Remove unnecessary `set -x -e` from workflows.

Signed-off-by: SuperQ <superq@gmail.com>
2022-02-02 18:11:08 +01:00