awesome-go/.github/workflows/run-check.yaml
2022-06-10 17:58:34 +05:30

19 lines
435 B
YAML

name: Check For Stale Repositories
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
build:
name: Running test
runs-on: ubuntu-latest
container: golang:latest
steps:
- uses: actions/checkout@1.0.0
- name: Get dependencies
run: go get -v -t -d ./...
- name: run script
run: go test stale_repositories_test.go scripts.go
env:
OAUTH_TOKEN: ${{secrets.OAUTH_TOKEN}}