Skip to content

Commit

Permalink
chore(ci): migrate to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fallion committed Feb 28, 2020
1 parent f6ee35f commit 23ded38
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 44 deletions.
42 changes: 0 additions & 42 deletions .drone.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Linters

on: [pull_request]

jobs:
validate-commits:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Run Commitsar
uses: docker://outillage/commitsar
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release
on:
push:
tags:
- "v*"

jobs:
release-notary:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1

- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Release Notary
uses: docker://outillage/release-notary
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test

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

jobs:
go:
runs-on: ubuntu-latest

strategy:
matrix:
go-version: [1.13.x]

steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Test
run: make ci
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# go-template
Template repository for my Go projects
# Integrations

![Test](https://github.com/outillage/integrations/workflows/Test/badge.svg)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/outillage/integrations?style=flat-square)
![GitHub commits since latest release](https://img.shields.io/github/commits-since/outillage/integrations/latest?style=flat-square)

Integrations serve to provide a unified interface for getting different CI variables across multiple providers of either CI or Git.

0 comments on commit 23ded38

Please sign in to comment.