Skip to content

Split CI into OS-specific workflows #1

Split CI into OS-specific workflows

Split CI into OS-specific workflows #1

Workflow file for this run

name: 'Windows'
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: "0 6 * * *"
env:
PCAP_CI_OS: 'windows-latest'
jobs:
build-and-test-stable:
uses: './.github/workflows/01-build-and-test-windows.yml'
with:
os: ${{ env.PCAP_CI_OS }}

Check failure on line 18 in .github/workflows/00-windows.yml

View workflow run for this annotation

GitHub Actions / Windows

Invalid workflow file

The workflow is not valid. .github/workflows/00-windows.yml (Line: 18, Col: 11): Unrecognized named-value: 'env'. Located at position 1 within expression: env.PCAP_CI_OS .github/workflows/00-windows.yml (Line: 27, Col: 11): Unrecognized named-value: 'env'. Located at position 1 within expression: env.PCAP_CI_OS
toolchain: 'stable'
secrets:
NPCAP_OEM_PASSWORD: ${{ secrets.NPCAP_OEM_PASSWORD }}
NPCAP_OEM_USERNAME: ${{ secrets.NPCAP_OEM_USERNAME }}
build-and-test-beta:
uses: './.github/workflows/01-build-and-test-windows.yml'
with:
os: ${{ env.PCAP_CI_OS }}
toolchain: 'beta'
secrets:
NPCAP_OEM_PASSWORD: ${{ secrets.NPCAP_OEM_PASSWORD }}
NPCAP_OEM_USERNAME: ${{ secrets.NPCAP_OEM_USERNAME }}
build-and-test-msrv:
uses: './.github/workflows/01-build-and-test-windows.yml'
with:
os: ${{ env.PCAP_CI_OS }}
toolchain: '1.63.0'
msrv: true
secrets:
NPCAP_OEM_PASSWORD: ${{ secrets.NPCAP_OEM_PASSWORD }}
NPCAP_OEM_USERNAME: ${{ secrets.NPCAP_OEM_USERNAME }}
coverage-stable:
uses: './.github/workflows/02-coverage.yml'
with:
os: ${{ env.PCAP_CI_OS }}
lint-all-stable:
uses: './.github/workflows/03-lint.yml'
with:
os: ${{ env.PCAP_CI_OS }}