Skip to content

Commit

Permalink
Add CI workflow (#1)
Browse files Browse the repository at this point in the history
* Add CI workflow

Add basic CI workflow to test and build

* Add libpam0g-dev

Add required package libpam0g-dev to CI
  • Loading branch information
FlxPeters authored Dec 30, 2021
1 parent e9524bd commit d787f62
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

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

jobs:

build:
runs-on: ubuntu-latest
env:
GO111MODULE: auto
steps:
- uses: actions/checkout@v2

- name: Install required packages
run: sudo apt-get install -y libpam0g-dev

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17

- name: Build & Test
run: make

0 comments on commit d787f62

Please sign in to comment.