Commit graph

31 commits

Author SHA1 Message Date
dependabot[bot]
61f7aa2673
Build(deps): Bump actions/checkout from 3.5.2 to 3.5.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.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/v3.5.2...c85c95e3d7251135ab7dc9ce3241c5835cc595a9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 11:57:54 +00:00
Andy Scherzinger
8471d1e2a2
Update qa.yml
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 13:54:46 +02:00
Andy Scherzinger
47c902deda
Make actions cancelable
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 13:53:06 +02:00
Andy Scherzinger
9d632a5abf
Bump GH actions to Java17
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-05 15:13:31 +02:00
dependabot[bot]
545f537c3a
Build(deps): Bump actions/checkout from 3.5.0 to 3.5.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2.
- [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.5.0...8e5e7e5ab8b370d6c329ec480221332ada57f0ab)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 11:58:23 +00:00
dependabot[bot]
26f7bcdd1d
Build(deps): Bump actions/setup-java from 3.10.0 to 3.11.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.10.0...5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 11:57:57 +00:00
dependabot[bot]
19b5441b26
Build(deps): Bump actions/checkout from 3.4.0 to 3.5.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.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.4.0...8f4b7f84864484a7bf31766abe9204da3cbe65b3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 11:58:35 +00:00
dependabot[bot]
26ebd78521
Build(deps): Bump actions/checkout from 3.3.0 to 3.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.4.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.3.0...24cb9080177205b6e8c946b17badbe402adc938f)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 11:58:22 +00:00
dependabot[bot]
3a7ef87257
Build(deps): Bump actions/checkout from 3.2.0 to 3.3.0
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...ac593985615ec2ede58e132d2e21d2b1cbd6127c)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 12:29:00 +00:00
dependabot[bot]
8b827b3086
Build(deps): Bump actions/setup-java from 3.9.0 to 3.10.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](1df8dbefe2...3f07048e3d)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 09:16:13 +00:00
tobiasKaminsky
56df7ad103
Pin versions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-12-16 10:35:39 +01:00
Tobias Kaminsky
d62e215cf9
Fix QA upload (#10447)
* secret is called GIT_TOKEN on GitHub

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>

* Remove "sudo" from qa build to preserve env variables

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-28 07:43:32 +00:00
tobiasKaminsky
92d3f08f6a
Setting token permissions to read-only follows the principle of least privilege.
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-13 14:23:55 +02:00
Álvaro Brey
f54d234626
Merge pull request #10279 from nextcloud/chore/analysis-github-token
workflows/analysis: Use GITHUB_TOKEN instead of GIT_TOKEN, and some cleanup
2022-05-31 10:07:03 +02:00
Álvaro Brey
fa3d92009d
Update workflows/qa
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-23 10:15:29 +02:00
Álvaro Brey
e74e12c293
Update some workflows
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-23 10:11:36 +02:00
dependabot[bot]
5e924a5c4f
Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 11:20:00 +00:00
Álvaro Brey Vilas
fb5de078f7
qa: fix head ref
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-23 10:29:31 +01:00
Álvaro Brey Vilas
eeee70f472
qa: run on pull_request_target, to enable running on fork PRs
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-21 13:24:10 +01:00
Álvaro Brey Vilas
ec98c5db52
Centralize NDK and CMAKE versions
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-15 14:43:05 +01:00
Álvaro Brey Vilas
3b5d9ddabf
qa: Ensure NDK and cmake are present
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-15 13:14:57 +01:00
tobiasKaminsky
e32de23933
fix qa
fix lint
fix uploadArtifact.sh

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-11 11:11:43 +01:00
dependabot[bot]
5e0c59cd6d
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 08:20:38 +00:00
Álvaro Brey Vilas
417dee2535
workflows: Use temurin JDK instead of adopt
Ref: https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/

tl;dr: AdoptOpenJDK is discontinued and recommendation is to use Eclipse Temurin instead

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-20 11:01:09 +01:00
Andy Scherzinger
6cf37e32d9 add missing changes from #8781
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Co-Authored-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-06 08:26:25 +00:00
Andy Scherzinger
1a7d8a7491 Update GH actions to Java 11
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-06 08:26:25 +00:00
Álvaro Brey
6863a8a637 CI:skip QA build if keystore pass is not available
This is just another step towards green checks on PRs :)

There is no way to skip the whole workflow depending on whether it is
a PR from a fork or not. The only workaround is to check whether secrets are present or not.

So, I've added a step to check if KS_PASS is empty, and set an output depending on that.
If it is empty, we just skip the rest of the steps.

To avoid the `if` repetition, a separate job can be used and then the whole `qa` job can
depend on its outputs. But that would add another "check" in the github UI.

Inspired by https://github.com/nextcloud/android/pull/8791#issuecomment-890524333

Signed-off-by: Álvaro Brey <alvaro.brv@gmail.com>
2021-08-16 00:42:30 +02:00
tobiasKaminsky
11e077a51f
Use GITHUB_TOKEN instead of own private access token
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-03-03 09:51:49 +01:00
tobiasKaminsky
fb51298c97
Run workflows only on PRs, but not on direct push (e.g. transifex push, or merge commit)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-14 15:10:21 +01:00
tobiasKaminsky
cff5e413c5
Use master, stable-* as target for workflow branches
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-05 14:42:56 +01:00
tobiasKaminsky
04693ed1a2
Move QA to GH actions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-03 16:12:06 +01:00