🔍 Continuous integration #217
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
--- | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- 'master' | |
tags: | |
- 'v*.*.*' | |
pull_request: | |
branches: | |
- 'master' | |
release: | |
types: | |
- 'created' | |
schedule: | |
# Every Sunday at 05:10 | |
- cron: '10 5 * * 0' | |
name: 🔍 Continuous integration | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: 📦 Install goss | |
uses: e1himself/goss-installation-action@v1.1.0 | |
- name: 📦 Check out the codebase | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
### For Cross Platform OSX builds uncomment these lines | |
- name: 🖥️ Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
with: | |
platforms: arm64 | |
- name: 🚀 Set up Docker BuildX | |
uses: docker/setup-buildx-action@v2 | |
with: | |
install: true | |
- name: 🧪 Run dcgoss tests | |
run: make test | |
... |