Files
hackacad/.github/workflows/test.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 33: mapping key "on" already defined at line 3
Barry McCormick 3e52de0701 Update test.yml
2025-05-25 17:21:59 -07:00

39 lines
724 B
YAML

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
name: BastilleBSD testing
env:
MYTOKEN : ${{ secrets.MYTOKEN }}
MYTOKEN2: "value2"
steps:
- uses: actions/checkout@v4
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
envs: 'MYTOKEN MYTOKEN2'
usesh: true
prepare: |
pkg install -y curl
run: |
pwd
ls -lah
whoami
env
freebsd-version
sysctl hw.model
sysctl hw.ncpu
sysctl hw.physmem
sysctl hw.usermem
on:
pull_request:
# Sequence of patterns matched against refs/heads
branches:
- main