144 Commits

Author SHA1 Message Date
Andreas Dangel
2e7263af69
Merge pull request #4746 from adangel:build-improvements
[ci] Build improvements #4746
2024-01-05 15:49:37 +01:00
Andreas Dangel
bd7fb70c13
[ci] Bump build-tools to master (23-SNAPSHOT)
Should fix the expired release key
2024-01-05 14:59:39 +01:00
Andreas Dangel
194a644cee
[ci] Bump build-tools to 23-SNAPSHOT
Should fix the expired release key
2024-01-05 14:57:09 +01:00
Andreas Dangel
7432ae5a9b
Update build scripts to use BUILD_CLI_DIST_ONLY 2023-11-16 14:58:26 +01:00
Andreas Dangel
3d0839dd64
Merge pull request #4670 from pmd/dependabot/github_actions/master/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-10-20 11:29:00 +02:00
Andreas Dangel
7917595c54
Bump build-tools from 22-SNAPSHOT to 22 2023-09-30 10:57:51 +02:00
dependabot[bot]
c7401e130b
Bump actions/checkout from 3 to 4
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>
2023-09-11 03:41:17 +00:00
Andreas Dangel
f5829ac5b1
[ci] Fix path for regression tester artifact upload (again) 2023-06-24 22:04:39 +02:00
Andreas Dangel
d0bc4c70e8
[ci] Fix path for regression tester artifact upload (again) 2023-06-24 21:34:10 +02:00
Andreas Dangel
8d08ab262a
[ci] Fix path for regression tester artifact upload 2023-06-24 19:27:12 +02:00
Andreas Dangel
d238de5307
[ci] Upload regression tester report as artifact 2023-06-24 16:50:14 +02:00
Andreas Dangel
601abc0a3e
[ci] Increase maven download ttl to 180s again 2023-06-24 16:39:27 +02:00
Andreas Dangel
40b0f5ed23
[ci] Next try to fix maven downloads
- reduce ttl to 30 seconds
- show transfers/downloads
2023-06-24 13:04:20 +02:00
Andreas Dangel
92ae88b4b3
[ci] Use new aether properties to configure http ttl for maven
Since 3.9.0, maven uses native mode instead of wagon: https://maven.apache.org/docs/3.9.0/release-notes.html

https://maven.apache.org/guides/mini/guide-resolver-transport.html
https://maven.apache.org/resolver/configuration.html
2023-06-24 12:19:03 +02:00
Andreas Dangel
4d7d36b988
[ci] Fix selecting default on sourceforge
Updates build-tools to 22-SNAPSHOT

Refs #4460
2023-06-01 08:19:58 +02:00
Andreas Dangel
f7d0444d86
Replace more old URLs 2023-03-30 15:32:57 +02:00
Andreas Dangel
0cfa71162c
Bump build-tools from 20 to 21 2023-03-25 09:53:29 +01:00
Andreas Dangel
a6c33659cb
[ci] Disable builds for branch pmd/7.0.x 2023-03-03 18:39:48 +01:00
Clément Fournier
aed9e12c34
Merge branch 'master' into 7.0.x 2023-02-26 14:59:12 +01:00
Clément Fournier
a1712cea98
Adapt CI to build in merge queue
See https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue
2023-02-26 14:58:21 +01:00
Andreas Dangel
247111ca6d
Merge 'master' into pmd/7.0.x 2023-01-26 17:14:58 +01:00
Andreas Dangel
614a574292
Bump build-tools from 19/20-SNAPSHOT to 20 2023-01-26 15:32:15 +01:00
Andreas Dangel
44914419e2
Merge branch 'master' into pmd/7.0.x 2022-12-31 16:17:32 +01:00
Andreas Dangel
47128c8b99
Bump build-tools from 18 to 19 2022-12-15 18:45:04 +01:00
Andreas Dangel
d6b0068f7b
Merge branch 'master' into pmd/7.0.x 2022-10-28 11:26:12 +02:00
Andreas Dangel
17b8661dab
[doc] Use java highlighting in issue templates by default 2022-10-06 17:41:39 +02:00
Andreas Dangel
c0dff0d75a
Merge branch 'master' into pmd/7.0.x 2022-09-30 12:17:45 +02:00
Andreas Dangel
81a8ba0c87
[ci] Add permission contents:write for build job 2022-09-30 10:48:42 +02:00
Alex
4966e99082 build: harden git-repo-sync.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-19 21:10:13 +02:00
Alex
600561e44c build: harden build.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-19 21:02:02 +02:00
Andreas Dangel
7abe14fffc
Merge branch 'master' into pmd/7.0.x 2022-08-30 22:12:09 +02:00
Andreas Dangel
804e4d188a
[ci] Allow building of branch "experimental-apex-parser"
It should build like a pull request
2022-08-24 19:41:08 +02:00
Andreas Dangel
73e5a68978
Merge branch 'master' into pmd/7.0.x 2022-05-28 12:09:48 +02:00
Andreas Dangel
459c23a8b6
Bump build-tools from 17-SNAPSHOT to 18 2022-05-28 11:56:10 +02:00
Andreas Dangel
4c45d6125e
Merge branch 'master' into pmd/7.0.x 2022-04-29 13:40:05 +02:00
naveen
57dfc7fb40 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-04-29 01:00:46 +00:00
Andreas Dangel
e0c0e96d07
Merge branch 'master' into pmd/7.0.x 2022-04-12 20:15:44 +02:00
dependabot[bot]
2a57871fdb
Bump actions/cache from 2 to 3
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>
2022-03-28 03:01:58 +00:00
Andreas Dangel
c26275a2b6
Merge remote-tracking branch 'adangel/regression-tester-update' into
pmd7-regression-tester-update
2022-03-24 18:54:45 +01:00
Andreas Dangel
f2db24ffbb
Use new caches in CI build 2022-03-18 17:04:02 +01:00
Andreas Dangel
4160092ceb
Merge branch 'master' into pr-3819 2022-03-10 10:32:41 +01:00
dependabot[bot]
45a85806b5
Bump actions/checkout from 2 to 3
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>
2022-03-07 03:01:36 +00:00
Andreas Dangel
a9c3c019fe
Merge branch 'master' into pmd/7.0.x 2021-11-25 11:50:31 +01:00
Andreas Dangel
47938e674d
Bump build-tools from 17-SNAPSHOT to 17 2021-11-25 10:08:30 +01:00
Andreas Dangel
3cde14a534
[ci] Start with an empty cache 2021-11-19 11:00:08 +01:00
Andreas Dangel
f9a012a8de
Merge branch 'master' into pmd/7.0.x 2021-10-16 10:40:02 +02:00
Andreas Dangel
4bfb35cb86
Use GITHUB_TOKEN or deploy key
Also use pmd-bot@users.noreply.github.com as committer email.
2021-10-15 12:09:22 +02:00
Andreas Dangel
7cee47d71e
Merge branch 'master' into pmd/7.0.x 2021-09-27 20:11:01 +02:00
Andreas Dangel
6c60196bc1
Use build-tools 17-SNAPSHOT 2021-09-27 20:02:03 +02:00
Andreas Dangel
32bd651969
Merge branch 'master' into pmd/7.0.x 2021-07-30 14:11:48 +02:00