Skip to content

build(deps): bump vmactions/openbsd-vm from 1.3.2 to 1.4.4 #347

build(deps): bump vmactions/openbsd-vm from 1.3.2 to 1.4.4

build(deps): bump vmactions/openbsd-vm from 1.3.2 to 1.4.4 #347

Workflow file for this run

name: Cross Build
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
workflow_run:
workflows: ["Test with Code Coverage"]
branches: [main]
types:
- completed
env:
FEATURE_PATH: engines/yonasBSD/models/model-A/features/generator/packages/main
jobs:
test:
name: ${{ matrix.os.name }}
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
strategy:
matrix:
os:
- arch: ubuntu-latest
name: Ubuntu
- arch: macos-latest
name: Mac OS X
rust: [stable]
runs-on: ${{ matrix.os.arch }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.deps.dev:443
api.github.com:443
api.osv.dev:443
api.scorecard.dev:443
azure.archive.ubuntu.com:80
changelogs.ubuntu.com:443
esm.ubuntu.com:443
fulcio.sigstore.dev:443
github-releases.githubusercontent.com:443
github.com:443
index.crates.io:443
objects.githubusercontent.com:443
oss-fuzz-build-logs.storage.googleapis.com:443
packages.microsoft.com:443
raw.githubusercontent.com:443
rekor.sigstore.dev:443
release-assets.githubusercontent.com:443
security.ubuntu.com:80
static.crates.io:443
static.rust-lang.org:443
tuf-repo-cdn.sigstore.dev:443
www.bestpractices.dev:443
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # v1
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
- name: Run cargo test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd ${{ env.FEATURE_PATH }} && cargo test --all-features
freebsd:
name: FreeBSD
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: block
allowed-endpoints: >
0.freebsd.pool.ntp.org:123
0.freebsd.pool.ntp.org:443
2.freebsd.pool.ntp.org:123
2.freebsd.pool.ntp.org:443
api.deps.dev:443
api.github.com:443
api.osv.dev:443
api.scorecard.dev:443
azure.archive.ubuntu.com:80
changelogs.ubuntu.com:443
esm.ubuntu.com:443
fulcio.sigstore.dev:443
github-releases.githubusercontent.com:443
github.com:443
index.crates.io:443
motd.ubuntu.com:443
objects.githubusercontent.com:443
oss-fuzz-build-logs.storage.googleapis.com:443
packages.microsoft.com:443
pkg.FreeBSD.org:443
raw.githubusercontent.com:443
rekor.sigstore.dev:443
release-assets.githubusercontent.com:443
static.crates.io:443
static.rust-lang.org:443
tuf-repo-cdn.sigstore.dev:443
www.bestpractices.dev:443
_http._tcp.azure.archive.ubuntu.com:443
_https._tcp.esm.ubuntu.com:443
_https._tcp.motd.ubuntu.com:443
_https._tcp.packages.microsoft.com:443
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: FreeBSD
uses: vmactions/freebsd-vm@ba6bedee4a4884da2b782a41a64329a1c8e42ffb # v1.3.8
with:
usesh: true
sync: rsync
copyback: false
prepare: |
pkg update -f ; pkg install -y curl rust-nightly
run: |
cd ${{ env.FEATURE_PATH }} && cargo test --all-features
openbsd:
name: OpenBSD
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: block
allowed-endpoints: >
api.deps.dev:443
api.github.com:443
api.osv.dev:443
api.scorecard.dev:443
cdn.openbsd.org:443
fulcio.sigstore.dev:443
github-releases.githubusercontent.com:443
github.com:443
index.crates.io:443
objects.githubusercontent.com:443
oss-fuzz-build-logs.storage.googleapis.com:443
pool.ntp.org:443
raw.githubusercontent.com:443
rekor.sigstore.dev:443
release-assets.githubusercontent.com:443
static.crates.io:443
static.rust-lang.org:443
time.cloudflare.com:443
tuf-repo-cdn.sigstore.dev:443
www.bestpractices.dev:443
www.google.com:443
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: OpenBSD
uses: vmactions/openbsd-vm@18edb32f4e48dae5865d7b8b3a9587bc01218a20 # v1.4.4
with:
usesh: true
sync: rsync
copyback: false
prepare: pkg_add curl rust
run: cd ${{ env.FEATURE_PATH }} && cargo test --all-features
alpine:
name: Alpine
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
dl-cdn.alpinelinux.org:80
github.com:443
gitlab.alpinelinux.org:443
index.crates.io:443
static.crates.io:443
static.rust-lang.org:443
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Alpine
uses: jirutka/setup-alpine@ae3b3ddba35054804fc4a3507b519fa7e8152050 # v1.4.1
with:
branch: edge
- name: Run tests
run: |
apk add cargo
cd ${{ env.FEATURE_PATH }} && cargo test --all-features
shell: alpine.sh --root {0}
arch:
name: Arch
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
archlinux.org:443
geo.mirror.pkgbuild.com:443
github.com:443
index.crates.io:443
openpgpkey.archlinux.org:443
static.crates.io:443
static.rust-lang.org:443
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Arch
uses: RangHo/setup-arch@19885eda0c0b0d1791e61e1d32f2552d42944b14 # main
with:
packages: "rust"
- name: Run tests
run: cd ${{ env.FEATURE_PATH }} && cargo test --all-features
fedora:
name: Fedora
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: block
allowed-endpoints: >
admin.fedoraproject.org:443
api.github.com:443
github.com:443
index.crates.io:443
mirrors.fedoraproject.org:443
static.crates.io:443
static.rust-lang.org:443
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run tests
run: |
dnf install -y rust cargo
cd ${{ env.FEATURE_PATH }} && cargo test --all-features
opensuse:
name: OpenSUSE
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest
container:
image: opensuse/leap:latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
download.opensuse.org:443
github.com:443
index.crates.io:443
static.crates.io:443
static.rust-lang.org:443
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run tests
run: |
zypper install -y rust cargo
cd ${{ env.FEATURE_PATH }} && cargo test --all-features
rocky:
name: Rocky Linux
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest
container:
image: rockylinux:9
steps:
- name: Harden Runner
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
dl.rockylinux.org:443
github.com:443
index.crates.io:443
mirrors.rockylinux.org:443
static.crates.io:443
static.rust-lang.org:443
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run tests
run: |
dnf install -y rust cargo
cd ${{ env.FEATURE_PATH }} && cargo test --all-features
gentoo:
name: Gentoo
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest
container:
image: gentoo/stage3:latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
distfiles.gentoo.org:443
github.com:443
index.crates.io:443
static.crates.io:443
static.rust-lang.org:443
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run tests
run: |
emerge --sync
emerge --ask n --verbose dev-lang/rust-bin
cd ${{ env.FEATURE_PATH }} && cargo test --all-features
slackware:
name: Slackware
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest
container:
image: vbatts/slackware:latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
index.crates.io:443
mirrors.slackware.com:443
static.crates.io:443
static.rust-lang.org:443
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run tests
run: |
cd ${{ env.FEATURE_PATH }} && cargo test --all-features