mirror of
https://github.com/avelino/awesome-go.git
synced 2024-12-12 17:13:58 +00:00
19 lines
432 B
YAML
19 lines
432 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@v3
|
|
- 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}}
|