-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: improve build by setting concurrency and protoc version + add dep…
…endabot.yml for outdated deps. Signed-off-by: Lachezar Lechev <[email protected]>
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
# Check for outdated actions | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
# Check for updates every Monday | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,20 @@ on: | |
branches: | ||
- '**' | ||
|
||
# Stops the running workflow of previous pushes | ||
concurrency: | ||
group: ${{ github.ref }}-android | ||
cancel-in-progress: true | ||
|
||
env: | ||
# For the confusing protoc versioning check out these docs: | ||
# https://protobuf.dev/support/version-support/ | ||
# v3.26.x, where `.x` is a wildcard | ||
# | ||
# For stremio-core-android we use version 3.21 | ||
# Check build.gradle.kts | ||
PROTOC_VERSION: '21.x' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
@@ -15,6 +29,8 @@ jobs: | |
# add protoc because of stremio-core-csharp | ||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v3 | ||
with: | ||
version: "${{ env.PROTOC_VERSION }}" | ||
|
||
- name: Rust setup (1.67.1) | ||
uses: dtolnay/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters