Commit Graph

17 Commits

Author SHA1 Message Date
Nik Clayton f71a5e1237
ci: Run ktlint workflow on forks, with write permissions (#95)
Previously the permissions were only applied to branches from this
repository, not forks. Use `pull_request_target` so the `GITHUB_TOKEN`
will have the correct permissions when this workflow is run from a PR
created from a clone.

Remove the `issues` permission, it didn't seem necessary.
2023-09-25 18:18:39 +02:00
Nik Clayton e0e4235354
change: Deprecate the "develop" branch (#70)
The separation between the `develop` and `main` branches was inherited
from Tusky and isn't helpful, complicating the release process and
causing CI to repeatedly run the same actions on the same code.

Deprecate the `develop` branch by removing references to it in the
documentation and updating the CI configuration as necessary.

Separately, the GitHub settings will be changed to set `main` as the
default branch, and the `develop` branch will be deleted.
2023-09-19 16:40:07 +02:00
Nik Clayton 26482c4b78
ci: Support generating whatsnew and uploading to Google Play (#69)
Add additional steps which:

- Generate the whatsnew-en-US file from the Fastlane metadata
- Uploads the generated AAB file to Google Play
2023-09-19 12:05:06 +02:00
Nik Clayton 2c5c93e33a
ci: Start creating the build / sign / upload-to-Google-Play pipeline (#50)
This action should build the APK and AAB, sign them, and store the APK
as an asset.

Uploading to the correct Google Play release track will come later.
2023-09-15 22:15:50 +02:00
Nik Clayton a0f749b89a
ci: Rename pr-conventional-commit to pr-conventional-commit.yml (#32) 2023-09-12 13:01:47 +02:00
Nik Clayton 35afc574ab
ci: Check PR titles have conventional commit metadata (#30) 2023-09-12 12:59:29 +02:00
Nik Clayton 357ac03795
chore: Update issue templates (#4) 2023-09-05 22:20:47 +02:00
Nik Clayton e6ce86158b
ci: Move reviewdog permissions block (#6)
The permission declaration appears to be sensitive to the position in
the file. Move it to the start to ensure it takes effect.
2023-09-05 22:20:18 +02:00
Nik Clayton 1bf13b10f8
refactor: Transition from Tusky to Pachli
- Rename packages to app.pachli.*
- Switch to Pachli icons (blue / orange)
- Reset database schema version to 1
- Reset versionCode to 1 and versionName to "1.0"
- Update colour scheme, use colorPrimary etc through the app
- Use Material UI components for toolbars
- Use "Pachli" in strings (UI, constants, etc)
- Update copyright on code I contributed
- Update README
- Update fastlane metadata
2023-09-05 13:33:37 +02:00
Nik Clayton cf26af25d8
docs: Update copyright statement on relevant files
Update the copyright statement on files I wrote or substantially
rewrote.
2023-09-04 20:22:09 +02:00
Nik Clayton 0c892cf56f
Leave comments on PRs with fixes for lint errors (#3224)
Runs `ktlintFormat`, and adds comments to the PR if that generates any
diffs. The comments include the fix, which can be accepted immediately
through the GitHub UI.
2023-08-23 22:49:44 +02:00
Nik Clayton 41951c906c
Provide specific gradle properties for builds on CI (#3924)
Expectation is that these will result in faster builds by disabling
options (like the gradle daemon) that benefit long-lived processes but
do not benefit ephemeral build workers.
2023-08-08 23:04:29 +02:00
Nik Clayton 49fd2c8478
Populate gradle build cache on each push to develop (#3904)
The build cache is used in ci.yml to speed up builds, but it needs to be
populated by building code that's been merged.
2023-08-04 14:11:30 +02:00
Nik Clayton 839d8bcc04
Migrate to AGP 8.0.2 / Android Studio Flamingo / Java 17 (#3541)
- Update AGP in version catalog to 8.0.2
- Set Java version to 17
- Enable non-final resource IDs
2023-07-30 15:50:04 +02:00
Nik Clayton a41b81cd70
Allow builds on `develop` to write to the Gradle cache, update task names (#3834) 2023-07-12 13:26:30 +02:00
Nik Clayton 0a1be7df06
Experiment with linting and testing using Github actions (#3728)
Create an action that lints, tests, and builds the green debug variant.
2023-07-10 21:02:14 +02:00
Konrad Pozniak 46e5ef00ed
Create FUNDING.yml 2019-05-23 19:24:51 +02:00