Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.

Commit 23296b9

Browse files
authored
Merge pull request joho#121 from joho/github-actions
Setup GitHub actions for CI
2 parents 0da8ce7 + e57c08d commit 23296b9

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
go: [ '1.15', '1.14' ]
11+
os: [ ubuntu-latest, macOS-latest, windows-latest ]
12+
name: ${{ matrix.os }} Go ${{ matrix.go }} Tests
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Setup go
16+
uses: actions/setup-go@v2
17+
with:
18+
go-version: ${{ matrix.go }}
19+
- run: go test

.travis.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 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)
1+
# 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)
22

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

0 commit comments

Comments
 (0)