Skip to content

Commit

Permalink
Merge pull request #121 from joho/github-actions
Browse files Browse the repository at this point in the history
Setup GitHub actions for CI
  • Loading branch information
joho committed Nov 11, 2020
2 parents 0da8ce7 + e57c08d commit 23296b9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,19 @@
name: CI

on: [push]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [ '1.15', '1.14' ]
os: [ ubuntu-latest, macOS-latest, windows-latest ]
name: ${{ matrix.os }} Go ${{ matrix.go }} Tests
steps:
- uses: actions/checkout@v2
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- run: go test
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# GoDotEnv [![Build Status](https://travis-ci.org/joho/godotenv.svg?branch=master)](https://travis-ci.org/joho/godotenv) [![Build status](https://ci.appveyor.com/api/projects/status/9v40vnfvvgde64u4?svg=true)](https://ci.appveyor.com/project/joho/godotenv) [![Go Report Card](https://goreportcard.com/badge/github.com/joho/godotenv)](https://goreportcard.com/report/github.com/joho/godotenv)
# GoDotEnv ![CI](https://github.com/joho/godotenv/workflows/CI/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/joho/godotenv)](https://goreportcard.com/report/github.com/joho/godotenv)

A Go (golang) port of the Ruby dotenv project (which loads env vars from a .env file)

Expand Down

0 comments on commit 23296b9

Please sign in to comment.