Commit graph

107 commits

Author SHA1 Message Date
Tobias Kaminsky
451694d0fb
Update .github/workflows/codeql-analysis.yml
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-09 12:48:30 +02:00
Álvaro Brey Vilas
b94c776d6e CodeQL: format file and remove extra comments
[skip ci]

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-06-09 08:35:21 +00:00
Álvaro Brey Vilas
81d8cafa02 CodeQL: setup JDK for build
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-06-09 08:35:21 +00:00
Álvaro Brey Vilas
9bc615a287 CodeQL: do not use autobuild
Fails for android projects

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-06-09 08:35:21 +00:00
Tobias Kaminsky
51dc293fab Update codeql-analysis.yml 2022-06-09 08:35:21 +00:00
Tobias Kaminsky
9684b0172d Create codeql-analysis.yml 2022-06-09 08:35:21 +00:00
dependabot[bot]
da98a8a980
Bump actions/upload-artifact from 3 to 3.1.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 3.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...3cea5372237819ed00197afe530f5a7ea3e805c8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-31 08:07:54 +00: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]
2cac6f916a
Bump cirrus-actions/rebase from 1.6 to 1.7
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.6 to 1.7.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.6...1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 11:16:25 +00:00
dependabot[bot]
0cd5f1b9f4
Bump codecov/codecov-action from 2 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 11:18:13 +00:00
Álvaro Brey
c20c3e4066
Merge pull request #10014 from nextcloud/spotbugs-improvements
Spotbugs improvements
2022-04-27 11:34:35 +02:00
Álvaro Brey Vilas
7073746309
Use defusedxml for xml parsing instead of etree
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 11:03:59 +02:00
Álvaro Brey Vilas
79fc8c61d9
codecov: add flag to integration test coverage so the UI is clearer
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 10:19:23 +02:00
Álvaro Brey Vilas
7f00cd6e46
Upload unit test results properly if they fail
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 08:43:51 +02:00
Álvaro Brey Vilas
68b2665b09 Run unit tests in GH actions
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 06:13:49 +00:00
Álvaro Brey
bb82017448
Merge pull request #10093 from nextcloud/dependabot/github_actions/cirrus-actions/rebase-1.6
Bump cirrus-actions/rebase from 1.5 to 1.6
2022-04-18 17:38:57 +02:00
dependabot[bot]
3ab5f6ea0a
Bump trilom/file-changes-action from 1.2.3 to 1.2.4
Bumps [trilom/file-changes-action](https://github.com/trilom/file-changes-action) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/trilom/file-changes-action/releases)
- [Changelog](https://github.com/trilom/file-changes-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/trilom/file-changes-action/compare/v1.2.3...v1.2.4)

---
updated-dependencies:
- dependency-name: trilom/file-changes-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 11:18:10 +00:00
dependabot[bot]
75e828cf54
Bump cirrus-actions/rebase from 1.5 to 1.6
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.5 to 1.6.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.5...1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 11:18:06 +00:00
Álvaro Brey
68b4b6fe56
Merge pull request #10073 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-2.2.1
Bump hmarr/auto-approve-action from 2.2.0 to 2.2.1
2022-04-18 12:24:06 +02:00
Álvaro Brey
914319c940
Merge pull request #10072 from nextcloud/dependabot/github_actions/actions/setup-java-3
Bump actions/setup-java from 2 to 3
2022-04-18 12:23:41 +02:00
dependabot[bot]
7fb9b97e8d
Bump hmarr/auto-approve-action from 2.2.0 to 2.2.1
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: hmarr/auto-approve-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 11:20:04 +00: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
tobiasKaminsky
7817a3b8d5
Let us no longer create java files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-04-08 10:17:44 +02:00
dependabot[bot]
dc15edb6f6
Bump hmarr/auto-approve-action from 2.1.0 to 2.2.0
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: hmarr/auto-approve-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 11:17:51 +00:00
dependabot[bot]
d931d37e91
Bump peter-evans/create-or-update-comment from 1 to 2
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 1 to 2.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v1...v2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 11:14:54 +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
Tobias Kaminsky
3aad1fc376
Merge pull request #9999 from nextcloud/chore/qa_pr_target
qa: run on pull_request_target, to enable running on fork PRs
2022-03-23 07:50:48 +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
dependabot[bot]
efd6d88124
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-21 11:48:58 +00:00
Álvaro Brey
b70eeaae3a
Merge pull request #9977 from nextcloud/chore/ktlint-gradle
Use ktlint plugin instead of manual ktlint tasks
2022-03-16 13:05:23 +01:00
Álvaro Brey Vilas
3597fb0a53
Use ktlint plugin instead of manual ktlint tasks
- Recommended by ktlint
 - Analyzes sources for all sourcesets without extra config
 - Less gradle code to maintain

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-16 11:30:39 +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
Álvaro Brey Vilas
516544115c
Fix screenshot tests after subproject change
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:14:46 +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
Álvaro Brey Vilas
e7dbbb45b4
Analysis: use proper token for clone
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-09 09:01:50 +01:00
Álvaro Brey Vilas
bee3403b21
analysis: Checkout branch, but use repo too
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-08 13:50:04 +01:00
Álvaro Brey Vilas
421a672e1d
workflows: analysis: another attempt to fix checkout
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-08 10:27:24 +01:00
Álvaro Brey Vilas
d2cb7e33b5
Revert "workflows: analysis: default checkout"
This reverts commit 55f02b550b.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-03-08 10:25:38 +01:00
Álvaro Brey Vilas
55f02b550b
workflows: analysis: default checkout
Should work in checkout@v3

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-08 10:04:15 +01:00
Álvaro Brey
2494967829
Merge pull request #9928 from nextcloud/dependabot/github_actions/actions/stale-5
Bump actions/stale from 4.1.0 to 5
2022-03-07 12:46:32 +01:00
Álvaro Brey
8a34bf220b
Merge pull request #9926 from nextcloud/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-07 10:14:57 +01:00
dependabot[bot]
c8b1e0e43d
Bump actions/stale from 4.1.0 to 5
Bumps [actions/stale](https://github.com/actions/stale) from 4.1.0 to 5.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4.1.0...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 08:20:44 +00:00
dependabot[bot]
7e7a1f4f97
Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...6673cd052c4cd6fcf4b4e6e60ea986c889389535)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 08:20:41 +00: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
Nextcloud bot
2b5d46eec6 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-05 08:17:06 +00:00
Álvaro Brey Vilas
494cceab8e
Analysis: fix checkout and commit generation
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-26 12:54:24 +01:00
Álvaro Brey Vilas
b07716c0e5
screenshotTest: uninstall app before running
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-26 11:33:53 +01:00