Skip to content
Permalink
Browse files

Adding GH Actions for CI/CD, removing travis (#176)

* Adding drone things

* more specific

* getting really sparse :)

* ditching the travis file...

* Adding GH workflow file for Go

* adding actions file to just build modules

* removing drone file

using GH actions now
  • Loading branch information
arschles committed Nov 28, 2019
1 parent d95a38f commit 599075af8bcc25680e8fb9a44f771c6c93b1adb7
Showing with 47 additions and 18 deletions.
  1. +24 −0 .github/workflows/go.yaml
  2. +0 −17 .travis.yml
  3. +20 −0 Makefile
  4. +3 −1 README.md
@@ -0,0 +1,24 @@
name: Go for Modules
on: [push]
jobs:

build:
name: Build
runs-on: ubuntu-latest
env:
GO111MODULE: on
GOPROXY: https://proxy.golang.org

steps:

- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Build episode 25 onward with modules
run: make build-modules

This file was deleted.

@@ -23,3 +23,23 @@ build:
cd ./episode13 && ../glide install && go build && cd ..
cd ./episode14 && go build && cd ..
cd ./episode15 && go build && cd ..
cd ./episode16 && go build && cd ..
cd ./episode17 && go build && cd ..
cd ./episode18 && go build && cd ..
cd ./episode19 && go build && cd ..
cd ./episode20 && go build && cd ..
cd ./episode21 && go build && cd ..
cd ./episode22 && go build && cd ..
cd ./episode23 && go build && cd ..
cd ./episode24 && go build && cd ..
cd ./episode25 && go build && cd ..

.PHONY: build-modules
build-modules:
cd ./episode25 && go build
cd ./episode26 && go build
cd ./episode27 && go build
cd ./episode28 && go build
cd ./episode29 && go build
cd ./episode30 && go build
cd ./episode31 && go build
@@ -1,6 +1,8 @@
# Go In 5 Minutes

[![Build Status](https://travis-ci.org/arschles/go-in-5-minutes.svg?branch=master)](https://travis-ci.org/arschles/go-in-5-minutes)
[![Build Status](https://travis-ci.org/arschles/go-in-5-minutes.svg?branch=master)](https://travis-ci.org/arschles/go-in-5-minutes)
[![Build Status](https://cloud.drone.io/api/badges/arschles/go-in-5-minutes/status.svg)](https://cloud.drone.io/arschles/go-in-5-minutes)


Welcome Gophers! First off, lots of :heart: from me to you. I hope you enjoy
the screencasts, and as always, keep on rockin!

0 comments on commit 599075a

Please sign in to comment.
You can’t perform that action at this time.