2020-09-24 21:21:00 +00:00
|
|
|
name: Check For Stale Repositories
|
|
|
|
on:
|
2020-10-11 19:03:33 +00:00
|
|
|
workflow_dispatch:
|
2020-09-24 21:21:00 +00:00
|
|
|
schedule:
|
2021-12-15 22:34:01 +00:00
|
|
|
- cron: '0 0 * * 0'
|
2022-10-31 01:17:17 +00:00
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
|
2020-09-24 21:21:00 +00:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Running test
|
|
|
|
runs-on: ubuntu-latest
|
2021-12-16 09:01:22 +00:00
|
|
|
container: golang:latest
|
2020-09-24 21:21:00 +00:00
|
|
|
steps:
|
2024-08-04 15:49:12 +00:00
|
|
|
- uses: actions/checkout@v4
|
2020-10-05 08:59:38 +00:00
|
|
|
- name: Get dependencies
|
2021-12-16 08:57:52 +00:00
|
|
|
run: go get -v -t -d ./...
|
2020-10-05 08:59:38 +00:00
|
|
|
- name: run script
|
2023-12-12 00:56:29 +00:00
|
|
|
run: go test -v -run ^TestStaleRepository$
|
2021-12-15 22:34:01 +00:00
|
|
|
env:
|
|
|
|
OAUTH_TOKEN: ${{secrets.OAUTH_TOKEN}}
|