Commit graph

23 commits

Author SHA1 Message Date
pajlada 5dd8c1c88a
dev: Rename tools directory to scripts (#5035) 2023-12-17 13:37:30 +01:00
pajlada 56346874e1
ci: Use clang-format 16 (#4929) 2023-10-31 17:24:47 +00:00
dependabot[bot] a0ae1651eb
Bump actions/checkout from 3 to 4 (#4806)
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>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-09-09 13:31:12 +00:00
pajlada 8cfa5e866e
random ci test things (#4725)
* test

* Simplify qt install action usage

* Add merge_group to the actions
2023-07-29 11:02:43 +00:00
nerix 2233b46512
Format YAML and JSON Files With Prettier (#4304)
* ci: format yaml and json files with prettier

* chore: add changelog entry

* fix: format everything

* ci: run pretter on all files

* ci: rename prettier step
2023-01-15 17:27:41 +01:00
pajlada 032f290767
Sort and force grouping of includes (#4172)
This change enforces strict include grouping using IncludeCategories

In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:

    In ChatterSet.hpp, I changed lrucache to a <>include
    In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
    In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
    In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
    clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
James Upjohn 523e0c5ef4
ci: cancel previous runs on PR update (#3748)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-05-21 11:33:21 +02:00
dependabot[bot] 3c683f40f7
Bump actions/checkout from 2.4.0 to 3 (#3581)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 13:49:51 +00:00
dependabot[bot] 9098e93767
Bump actions/checkout from 2.3.5 to 2.4.0 (#3337)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-06 12:26:39 +01:00
dependabot[bot] 50b02f099a
Bump actions/checkout from 2.3.4 to 2.3.5 (#3290)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [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.3.4...v2.3.5)

---
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>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-10-23 15:05:31 +02:00
pajlada 6cd9cb72fb
Solidify CI logic on check-formatting and test (#2549) 2021-03-20 17:32:57 +01:00
pajlada b53137d1db
Stop double-running "check formatting" action (#2482)
also get some sneaky reformatting of the "check formatting" action in hehe
2021-02-27 15:37:51 +01:00
dependabot[bot] 7d199c1329
Bump actions/checkout from v2.3.3 to v2.3.4 (#2152)
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.3 to v2.3.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/v2.3.3...5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 17:54:00 +01:00
pajlada f191de2514
Add CI workflow to check line endings of all source files (#2082)
In addition, all found errors (formatting & line ending) have been fixed in this PR.
2020-10-18 15:54:48 +02:00
dependabot[bot] 92040896fa
Bump actions/checkout from v1 to v2.3.3 (#2052)
Bumps [actions/checkout](https://github.com/actions/checkout) from v1 to v2.3.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/v1...a81bbbf8298c0fa03ea29cdc473d45769f953675)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-10 10:40:31 +02:00
Ruben Anders 45a53bf0a4
dont ignore md files for CI in pull requests (#1881)
This should help merging readme PRs without having to use scary buttons
2020-08-23 14:07:30 +02:00
Rasmus Karlsson 3942749226 Don't check formatting when documentation has been updated 2020-07-18 14:27:06 +02:00
Rasmus Karlsson 624c578b06 Run format checker on pull requests too 2019-11-16 12:00:21 +01:00
Rasmus Karlsson b2d88ba555 fix! 2019-11-02 12:21:18 +01:00
Rasmus Karlsson 94f071b0ba add -y to apt-get install in check-formatting workflow 2019-11-02 12:19:25 +01:00
pajlada 3aedd682a6
Update check-formatting.yml 2019-11-02 12:18:18 +01:00
Rasmus Karlsson 28a1c7234e Update check-format action 2019-11-02 12:13:41 +01:00
pajlada 9fe752cf3c
add github action to check formatting 2019-11-02 11:59:34 +01:00