mirror of
https://github.com/sobolevn/git-secret
synced 2024-10-31 21:20:29 +00:00
38a155b013
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.6 to 0.2.8. - [Release notes](https://github.com/vmactions/freebsd-vm/releases) - [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.6...v0.2.8) --- updated-dependencies: - dependency-name: vmactions/freebsd-vm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
82 lines
1.8 KiB
YAML
82 lines
1.8 KiB
YAML
name: test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.head_ref || github.run_id }}-test
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Shellcheck and Hadolint
|
|
run: make lint
|
|
|
|
docker-ci:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
docker-env:
|
|
- alma
|
|
- alpine
|
|
#- arch # disable arch testing for now, see #916
|
|
- debian-gnupg1 # We need to test legacy version of gnupg
|
|
- debian-gnupg2
|
|
- fedora
|
|
- rocky
|
|
- ubuntu
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Run checks
|
|
run: SECRETS_DOCKER_ENV="${{ matrix.docker-env }}" make docker-ci
|
|
|
|
osx-ci:
|
|
runs-on: macos-latest
|
|
strategy:
|
|
matrix:
|
|
test-verbose: [0, 1]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install deps
|
|
run: brew install gawk gnupg
|
|
- name: Run checks
|
|
run: SECRETS_TEST_VERBOSE=${{ matrix.test-verbose }} make test
|
|
|
|
freebsd-ci:
|
|
runs-on: macos-10.15
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Run checks
|
|
id: test
|
|
uses: vmactions/freebsd-vm@v0.2.8
|
|
with:
|
|
usesh: true
|
|
prepare: pkg install -y gnupg bash gmake git gawk
|
|
run: |
|
|
which -a bash
|
|
which -a shell
|
|
gmake test
|
|
|
|
windows-wsl-ci:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: Vampire/setup-wsl@v1
|
|
with:
|
|
update: 'true'
|
|
additional-packages: gnupg make man git gawk file
|
|
- run: git config --global core.autocrlf input
|
|
- uses: actions/checkout@v3
|
|
- shell: wsl-bash {0}
|
|
run: make test
|