Dependency Check #59
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
name: Dependency Check | |
on: | |
schedule: | |
# run once a day at 9am UTC | |
- cron: "0 9 * * *" | |
env: | |
otp: "27.0" | |
gleam: "1.5.1" | |
rebar: "3" | |
jobs: | |
check-deps: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{ env.otp }} | |
gleam-version: ${{ env.gleam }} | |
rebar3-version: ${{ env.rebar }} | |
- run: gleam build | |
- run: gleam run -m go_over -- --outdated | |
# create an issue in the repo if there are | |
# outdated or vulnerable dependencies | |
- uses: jayqi/failed-build-issue-action@v1 | |
if: failure() | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |