Skip to content

Commit

Permalink
meta: add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
e0ff committed Nov 21, 2023
1 parent d4b0e53 commit 16ff8c2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

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

# Cancel old PR builds when pushing new commits.
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install make
run: sudo apt-get -y install make
- name: Build
run: make
- name: Run Tests
run: make test

0 comments on commit 16ff8c2

Please sign in to comment.