awesome-go/.github/workflows/run-check.yaml

23 lines
493 B
YAML
Raw Normal View History

name: Check For Stale Repositories
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
name: Running test
runs-on: ubuntu-latest
container: golang:latest
steps:
2024-08-04 15:49:12 +00:00
- uses: actions/checkout@v4
- name: Get dependencies
run: go get -v -t -d ./...
- name: run script
2023-12-12 00:56:29 +00:00
run: go test -v -run ^TestStaleRepository$
env:
OAUTH_TOKEN: ${{secrets.OAUTH_TOKEN}}