git-secret/.github/workflows/test.yml
2021-05-04 13:01:41 +03:00

43 lines
813 B
YAML

name: test
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install shellcheck
run: sudo apt-get update && sudo apt-get install -y shellcheck make
- name: Run lint
run: make lint
docker-ci:
runs-on: ubuntu-latest
strategy:
matrix:
docker-based-test:
- debian
- ubuntu
- alpine
- fedora
- centos
steps:
- uses: actions/checkout@v2
- name: Run checks
run: GITSECRET_DOCKER_ENV="${{ matrix.docker-based-test }}" make ci
build-man:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checks that manual generation works
run: make build-man