Robert Dailey
d4e8be42dd
ci: Add tags to condition for code sign
...
Oops
1 year ago
Robert Dailey
5881b611cf
ci: Only code sign on master
1 year ago
Robert Dailey
8d18f98901
ci: Move SonarCloud logic into a pwsh script
...
This allows running locally for testing purposes.
1 year ago
Robert Dailey
9365e2649f
ci: fix sonarcloud deprecations
...
- Use `sonar.token` instead of `sonar.login` since the latter is
deprecated.
- Explicitly install Java 17 since v11 (bundled by default) is
deprecated by Sonarcloud.
Caching was not implemented this time around because it's not possible
to cache analysis results yet, only the installed binaries. See this
thread for information:
https://community.sonarsource.com/t/proper-caching-for-ci-builds/98320/2
1 year ago
Robert Dailey
2d97d47b17
ci: Update 'branches' setting in a few workflows
...
The goal is to ensure that tags are consistently excluded from
triggering these workflows.
1 year ago
Robert Dailey
3e7fd835b9
ci: Fix sonarcloud not running on branches
...
This is because `tags-ignore` causes implicitly branches to be ignored.
1 year ago
Robert Dailey
7376cdbabc
ci: SonarCloud workflow ignores pushes to tags
1 year ago
Robert Dailey
7e428ff68c
ci: Upgrade docker/build-push-action
1 year ago
Robert Dailey
cd00e84b80
ci: Upgrade muno92/resharper_inspectcode
1 year ago
Robert Dailey
7d5b177c2f
ci: Fix some trigger paths in build.yml
1 year ago
Robert Dailey
71ff8ef855
ci: Upgrade DavidAnson/markdownlint-cli2-action to v11
1 year ago
Robert Dailey
67b2166d8b
ci: Use better way of specifying opencover format
1 year ago
Robert Dailey
f0d88854f8
ci: Changes to markdown lint workflow
...
- Do not trigger on changes to yaml files under `src`
- Upgrade markdownlint-cli2-action to v10
2 years ago
Robert Dailey
5ba79e386c
ci: Sonarcloud workflow builds when properties file changes
2 years ago
Robert Dailey
07e8257820
ci: Re-enable compressed builds on MacOS
...
This issue has been fixed:
https://github.com/dotnet/runtime/issues/79267
2 years ago
Robert Dailey
8796456293
ci: Switch back to official import codesign action
2 years ago
Robert Dailey
7d54708375
ci: Upgrade muno92/resharper_inspectcode to v1.6.8
2 years ago
Robert Dailey
d9de34e474
ci: use env var instead of file for notify.yml json
2 years ago
Robert Dailey
1cbc5a9d1b
ci: More robust way to write JSON to file
2 years ago
Robert Dailey
d072e77b3c
ci: Switch back to upstream resharper_inspectcode GHA
2 years ago
Robert Dailey
1a7ff102b5
ci: Remove name from reusable docker workflow
2 years ago
Robert Dailey
0b4c5514f5
ci: Upgrade GitVersion actions
2 years ago
Robert Dailey
22f6f260d2
ci: Fix broken URLs in discord notification
...
In addition:
- URL processing is now data driven. It pulls URLs from the latest
Github Release and uses those. This makes the notification more
extensible. If we add new artifacts later to the release, they
"automatically" get published in the discord notification as well. New
platforms must still be explicitly added, though.
- Added contributing guidance for testing the notification script.
2 years ago
Robert Dailey
636eb1553a
ci: Fix workflow deprecations
2 years ago
Robert Dailey
e1f1872cb7
fix: Correct executable bit permissions on binary releases
...
Due to [an issue][1] with the `actions/upload-artifact` action, when
binaries are uploaded they lose permission bits and `xattr` properties.
Composite actions `upload-tar` and `download-tar` have been added that
tarball the artifacts before uploading them to retain those properties.
[1]: https://github.com/actions/upload-artifact/issues/38
2 years ago
Robert Dailey
6ed4c7ca42
fix: Sign & notarize on Apple platforms
...
Changelog:
- Sign & notarize Recyclarr on macOS platforms (arm64, x64)
- Use `tar.xz` instead of `zip` on mac & linux platforms
- Compile linux binaries on the ubuntu-latest Github runner
- Compile macOS binaries on the macos-latest Github runner
- Executable size reduced by disabling ReadyToRun
Fixes #39
2 years ago
Robert Dailey
08e7323835
chore: Update examples in bug template
2 years ago
Robert Dailey
b2f13b4a07
ci: Update actions/checkout to v3
2 years ago
Robert Dailey
d1fe264eb0
chore: Add more details to bug template
2 years ago
Robert Dailey
b4c1ef6783
chore: Create FUNDING.yml
2 years ago
Robert Dailey
c78daecec7
chore: Improve bug report issue template
...
- Combine version fields into 1
- Add field for recyclarr logs
2 years ago
Robert Dailey
609fdc0607
chore: Improve usability of Publish.ps1
2 years ago
Robert Dailey
b5a692a710
build: Upgrade to .NET 7.0
2 years ago
Robert Dailey
f6884205c4
chore: Add sonarr/radarr version field to bug template
2 years ago
Robert Dailey
e32a6c510f
chore: New feature request issue template
2 years ago
Robert Dailey
bb03b512b9
chore: Add field for sonarr/radarr logs in bug issue template
2 years ago
Robert Dailey
fee10c3da5
chore: New issue template
2 years ago
Robert Dailey
1c1bbb8af7
ci: Use specific paths in build.yml
...
This is to avoid superfluous builds
2 years ago
Robert Dailey
c7aababd15
ci: Only run Sonarcloud when source changes
2 years ago
Robert Dailey
d4845d89ae
ci: Upgrade to setup-dotnet@v3 to fix ECONNRESET error
...
See actions/setup-dotnet#333
2 years ago
Robert Dailey
18074b6619
revert: "ci: Continue on error instead of using `if: always()`"
...
This reverts commit 044a064069
.
2 years ago
Robert Dailey
044a064069
ci: Continue on error instead of using `if: always()`
2 years ago
Robert Dailey
c842c6d584
ci: Proper boolean comparison for SHOULD_PUBLISH
...
Because `SHOULD_PUBLISH` is an environment variable, it isn't a true
boolean: it's a string. Update the `if:` condition logic to handle it as
a string instead.
2 years ago
Robert Dailey
16376ea11e
ci: Fix diff semantics depending on branch vs PR vs master
2 years ago
Robert Dailey
cea83477db
ci: Inspect code workflow
...
Runs Resharper Inspect Code & Code Cleanup.
2 years ago
Robert Dailey
a68455d8d6
ci: Check out source code in docker-hub workflow
2 years ago
Robert Dailey
18082e9d7f
ci: Separate docker hub updates into separate workflow
...
Allows updating the README outside of Docker image releases.
2 years ago
Robert Dailey
9b3b56c31b
ci: Allow discord notification to be invoked manually
...
If this workflow fails during normal releases, this provides a way to
correct issues and re-run if necessary.
2 years ago
Robert Dailey
b3cf6a9c17
ci: Add workflow_dispatch to notify.yml
...
Isn't used right now. Just setting it up for testing purposes.
2 years ago
Robert Dailey
bff81639ce
ci: Publish docker image to Docker Hub
...
https://hub.docker.com/r/recyclarr/recyclarr
2 years ago