Skip to content

Commit

Permalink
Move validation step into separate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ascopes committed Feb 3, 2024
1 parent 2380dd3 commit 18fa6d3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Validate
shell: bash
run: |-
# Validate codecov.yml
curl -vvv --fail --data-binary @- https://codecov.io/validate < codecov.yml
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Validate configuration

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "**" ]
workflow_call: {}
workflow_dispatch: {}

jobs:
build:
name: Validate configuration
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Validate codecov.yml
shell: bash
run: curl -vvv --fail --data-binary @- https://codecov.io/validate < codecov.yml

0 comments on commit 18fa6d3

Please sign in to comment.