Skip to content

Commit

Permalink
Replace travis for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartin82 authored Apr 8, 2024
1 parent 157d992 commit 3760055
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 11 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

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

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
go-version: [1.14]

steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
id: go

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

- name: Build
run: make test

- name: Test with coverage
run: make coverage

- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ debug.test
data/*
/vendor
coverage.txt
.github
dist
.vscode
.idea
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

0 comments on commit 3760055

Please sign in to comment.