Skip to content

Commit

Permalink
Migrate from TravisCI to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tobgu committed Nov 19, 2023
1 parent aac9ae3 commit 32a4aac
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
vendor/*/
qocache
/qocache
*.test
*.out
*.prof
Expand Down
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

40 changes: 40 additions & 0 deletions github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
go-version: ["1.21.x"]

steps:
- name: Checkout code
uses: actions/checkout@v2

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

- name: Install dependencies
run: make dev-deps

- name: Run tests
run: make ci

- name: Update coverage report
uses: ncruces/go-coverage-report@v0
with:
report: true
chart: true
amend: true
reuse-go: true
if: |
github.event_name == 'push'
continue-on-error: true

0 comments on commit 32a4aac

Please sign in to comment.