Skip to content

Commit

Permalink
enable github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sstarcher committed Apr 5, 2020
1 parent e95866d commit e1ed526
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .circleci/config.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v1
with:
go-version: 1.13
id: go

- uses: actions/checkout@v2

- run: go get -v -t -d ./...
- run: git submodule update --init --recursive --remote
- run: go test -v ./...

20 changes: 20 additions & 0 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: goreleaser

on:
push:
tags: ['*']

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
- uses: actions/setup-go@v1
with:
go-version: 1.13
- uses: goreleaser/goreleaser-action@v1
with:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Mark stale issues and pull requests

on:
schedule:
- cron: "0 0 * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
exempt-issue-label: 'exempt'
exempt-pr-label: 'exempt'

0 comments on commit e1ed526

Please sign in to comment.