(Cron) Check dependencies #9
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: (Cron) Check dependencies | |
| on: | |
| schedule: | |
| # Run every Monday at 08:00 UTC | |
| - cron: 0 8 * * 1 | |
| permissions: | |
| contents: read | |
| packages: write | |
| jobs: | |
| dependency-check: | |
| name: Test dependencies | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| - name: Install Task | |
| uses: arduino/setup-task@v2.0.0 | |
| with: | |
| version: 3.x | |
| - name: Install Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| with: | |
| install: true | |
| - name: Install QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| with: | |
| image: tonistiigi/binfmt:latest | |
| platforms: amd64,arm64 | |
| - name: Run linters | |
| run: task lint | |
| - name: Get Docker commands | |
| run: task docker:cmds | |
| - name: Build and push test image | |
| env: | |
| DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: task docker:push | |
| - name: Inspect image | |
| run: task docker:push:inspect |