Add actions

This commit is contained in:
Milan Nikolic
2022-09-05 18:04:18 +02:00
parent cda03e0122
commit cffd119eba

17
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
on: [push, pull_request]
name: Build
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Checkout code
uses: actions/checkout@v2
- name: Install package
run: |
sudo apt-get -y install libmagickcore-dev libmagickwand-dev
- name: Build
run: go build ./...