Merge pull request #94 from PeterDaveHello/patch-1 #74
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: push | |
jobs: | |
build: | |
name: build and test | |
runs-on: ubuntu-latest | |
env: | |
BUILDER_NAME: "GitHub Actions" | |
BUILDER_EMAIL: [email protected] | |
steps: | |
- name: Set up Go 1.17 | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.17 | |
id: go | |
- name: Check out code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: install dependencies | |
run: | | |
sudo wget https://github.com/jgm/pandoc/releases/download/2.7.3/pandoc-2.7.3-1-amd64.deb | |
sudo dpkg -i pandoc-2.7.3-1-amd64.deb | |
- name: build and run unit tests | |
run: make clean all test | |
- name: Run checkmake on Makefile | |
run: ./checkmake Makefile | |