Maintenance #13
This file contains hidden or 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: Maintenance | |
| on: | |
| schedule: | |
| - cron: "0 10 * * 1" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| dependency-drift: | |
| name: Dependency Drift | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Checkout cimis-tsdb | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: dl-alexandre/cimis-tsdb | |
| token: ${{ secrets.GH_PAT }} | |
| path: _deps/cimis-tsdb | |
| - name: Configure git for private repos | |
| run: | | |
| git config --global url."https://${{ secrets.GH_PAT }}@github.com/".insteadOf "https://github.com/" | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25.x" | |
| cache: true | |
| - name: Collect dependency update report | |
| run: | | |
| mkdir -p .artifacts/maintenance | |
| go list -u -m all > .artifacts/maintenance/dependency-updates.txt | |
| - name: Upload dependency report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: cimis-dependency-updates | |
| path: .artifacts/maintenance/dependency-updates.txt | |
| retention-days: 30 |