Skip to content

feat(vault.hcl): add initial manifest #1170

feat(vault.hcl): add initial manifest

feat(vault.hcl): add initial manifest #1170

Workflow file for this run

on:
pull_request:
push:
branches:
- master
name: CI
jobs:
packages:
name: Package sanity tests
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Hermit
run: |
set -e
set -o pipefail
curl -fsSL https://github.com/cashapp/hermit/releases/download/stable/install.sh | bash
- name: Test packages
run: |
set -xe -o pipefail
mkdir build testenv
~/bin/hermit validate "file://$PWD"
~/bin/hermit init --sources="file://$PWD" ./testenv
. ./testenv/bin/activate-hermit
for pkg in $(git diff --name-only ${{ github.event.pull_request.base.sha }} | fgrep .hcl | cut -d. -f1 | xargs -I{} -n1 hermit search -s '^{}$' | grep -v '@'); do echo $pkg; hermit test -t $pkg; hermit clean -tp; done