Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
build: add dependency checking (#2100)
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
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,18 @@ | ||
name: Update Dependency Graph | ||
|
||
on: | ||
push: | ||
branches: | ||
- main # default branch of the project | ||
|
||
jobs: | ||
update-graph: | ||
name: Update Dependency Graph | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: scalacenter/sbt-dependency-submission@v2 | ||
with: | ||
## Optional: Define the working directory of your build. | ||
## It should contain the build.sbt file. | ||
working-directory: './' |
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,22 @@ | ||
name: Launch Scala Steward | ||
|
||
# This workflow will launch at 00:00 every Sunday | ||
on: | ||
schedule: | ||
- cron: '0 0 * * 0' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
scala-steward: | ||
runs-on: ubuntu-latest | ||
name: Launch Scala Steward | ||
steps: | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
- name: Launch Scala Steward | ||
uses: scala-steward-org/scala-steward-action@v2 | ||
with: | ||
github-token: ${{ secrets.GH_TOKEN }} |