Skip to content

Test-Futureproof-Dependencies #45

Test-Futureproof-Dependencies

Test-Futureproof-Dependencies #45

---
name: "Test-Futureproof-Dependencies"
on: # yamllint disable-line rule:truthy
push:
pull_request:
# POSIX cron format
# https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html
schedule:
# Once every 5 minutes
# - cron: "*/5 * * * *"
# Once a day
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
Test-Futureproof-Dependencies:
runs-on: "ubuntu-24.04"
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-go@v5"
with:
go-version: "1.24.2"
- run: |
go get -u all
sh -c "go mod download && go mod vendor && go mod tidy" || echo 'go mod is silly'
sh -c "go mod download && go mod vendor && go mod tidy"
go test