Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/run-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@ name: Check For Stale Repositories
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
build:
name: Running test
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.15.x']
container: golang:latest
steps:
- uses: actions/checkout@1.0.0
- name: Get dependencies
run: |
go get -v -t -d ./...
run: go get -v -t -d ./...
- name: run script
run: go run test_stale_repositories.go scripts.go
env:
OAUTH_TOKEN: ${{secrets.OAUTH_TOKEN}}
env:
OAUTH_TOKEN: ${{secrets.OAUTH_TOKEN}}
28 changes: 28 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run tests

on:
push:
branches:
- 'master'
pull_request:

jobs:
build:
name: Running test
runs-on: ubuntu-latest
environment: netlify
container: golang:latest
steps:
- uses: actions/checkout@1.0.0
- name: Get dependencies
run: go get -v -t -d ./...
- name: Run tests
run: go test
- name: netlify awesome-go.com
uses: jsmrcaga/action-netlify-deploy@v1.1.0
if: contains('refs/heads/master', github.ref)
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_DEPLOY_TO_PROD: true
build_directory: tmpl
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

Loading