mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
The Windows test workflow jobs were missing the dependency on the `validate-dco` job so they ran regardless whether the DCO check passed or not. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
40 lines
975 B
YAML
40 lines
975 B
YAML
name: windows-2022
|
|
|
|
# Default to 'contents: read', which grants actions to read commits.
|
|
#
|
|
# If any permission is set, any permission not included in the list is
|
|
# implicitly set to "none".
|
|
#
|
|
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 10 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
validate-dco:
|
|
uses: ./.github/workflows/.dco.yml
|
|
|
|
run:
|
|
needs: validate-dco
|
|
if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci/validate-only') }}
|
|
uses: ./.github/workflows/.windows.yml
|
|
secrets: inherit
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
storage:
|
|
- graphdriver
|
|
- snapshotter
|
|
with:
|
|
os: windows-2022
|
|
storage: ${{ matrix.storage }}
|
|
send_coverage: true
|