nixos-config/.forgejo/workflows/test.yml
Chris (wolcen) Thompson 04219ffe80
Some checks are pending
/ build (push) Waiting to run
Try running on ubuntu
maybe hasm dockerz?
2025-10-15 19:55:43 -04:00

47 lines
1.2 KiB
YAML

on:
push:
paths:
- '**/test.yml'
workflow_dispatch:
inputs:
boolean:
description: 'Boolean'
required: true
type: boolean
jobs:
build:
runs-on: ubuntu-latest
if: inputs.boolean || vars.RUN_DEFAULT == '1'
container:
image: git.agaric.com/agaric/deploycontainer:0.0.5
env:
COMPOSER_IGNORE_PLATFORM_REQS: 1
COMPOSER_ARGS: "install --no-dev --no-progress --no-interaction --no-scripts --optimize-autoloader"
steps:
- name: checkout
uses: actions/checkout@v3
- uses: https://github.com/release-engineers/action-template@v2
with:
source: 'testing.template'
target: 'testing.md'
- name: inspect environment
shell: "bash --noprofile --norc -exo pipefail {0}"
run: |
env
jq . - <<'EOF'
${{ toJSON(github) }}
EOF
jq . - <<'EOF'
${{ toJSON(forge) }}
EOF
jq . - <<'EOF'
${{ toJSON(secrets) }}
EOF
jq . - <<'EOF'
${{ toJSON(inputs) }}
EOF
jq . - <<'EOF'
${{ toJSON(vars) }}
EOF
cat testing.md