You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
git-secret/.github/workflows/test.yml

38 lines
659 B
YAML

3 years ago
name: test
on:
push:
branches:
- master
3 years ago
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
docker-based-test:
- debian
- ubuntu
3 years ago
# - alpine
# - fedora
# - centos
steps:
- uses: actions/checkout@v2
- name: Run checks
run: GITSECRET_DOCKER_ENV="${{ matrix.docker-based-test }}" make ci
3 years ago
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
3 years ago
- name: Run lint
run: make lint