Skip to content

Commit

Permalink
ghactions: setup basic CI
Browse files Browse the repository at this point in the history
bootstrap the basic CI with go vet and unit tests
unit tests proper to be added in future PRs.

Signed-off-by: Francesco Romani <[email protected]>
  • Loading branch information
ffromani committed Feb 20, 2023
1 parent 3b9ace7 commit a4c4677
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci-base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI - base

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:

code-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up golang
uses: actions/setup-go@v2
with:
go-version: 1.19

- name: Vet
run: make vet

- name: Run unit tests
run: make unit-tests

0 comments on commit a4c4677

Please sign in to comment.