Skip to content

Commit

Permalink
feat: Add Github Action for dependency freshness metric
Browse files Browse the repository at this point in the history
  • Loading branch information
HulinCedric committed Feb 18, 2024
1 parent 3cc9e8b commit cf6decd
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/dependency-freshness-metric.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 📊 Dependency Freshness Metric
on:
workflow_dispatch:

pull_request:
branches:
- main

push:
branches:
- main

env:
sln-path: TotalEnergies.Bachelor.Api.sln

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: 📊 Gather dependency freshness metric
shell: bash
run: |
dotnet tool install -g libyear
dotnet libyear $(dotnet sln ${{ env.sln-path }} list | grep "\.csproj$")

0 comments on commit cf6decd

Please sign in to comment.