ci.yaml: use github container registry #362
Workflow file for this run
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, pull_request] | |
jobs: | |
arch: | |
runs-on: ubuntu-latest | |
container: archlinux:latest | |
steps: | |
- run: pacman --noconfirm --noprogressbar -Syu | |
- run: pacman --noconfirm --noprogressbar -S make go asciidoc gcc git | |
- uses: actions/checkout@v1 | |
- run: git config --global --add safe.directory $(pwd) | |
- run: make | |
- run: make test | |
- run: GOBIN=/usr/bin make lint | |
void: | |
runs-on: ubuntu-latest | |
container: voidlinux/voidlinux-musl | |
steps: | |
# update xbps, if necessary | |
- run: sudo xbps-install -Syu || ( sudo xbps-install -yu xbps && sudo xbps-install -Syu) | |
- run: sudo xbps-install -y make go asciidoc gcc git | |
- uses: actions/checkout@v1 | |
- run: git config --global --add safe.directory $(pwd) | |
- run: make | |
- run: make test | |
- run: GOBIN=/usr/bin make lint |