mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
chore: rename workflow
This commit is contained in:
parent
8e7d0a227e
commit
4535e78be1
@ -1,5 +1,4 @@
|
|||||||
# This workflow runs all dockerfiles in this repo
|
name: Pull Requests
|
||||||
name: checks
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Triggers the workflow on push or pull request events but only for the main branch
|
# Triggers the workflow on push or pull request events but only for the main branch
|
||||||
@ -16,7 +15,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
matrix:
|
matrix:
|
||||||
name: matrix
|
name: Matrix
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
gomod: ${{ steps.gomod.outputs.matrix }}
|
gomod: ${{ steps.gomod.outputs.matrix }}
|
||||||
@ -27,8 +26,8 @@ jobs:
|
|||||||
matrix=$(find . -type f -name "go.mod" -print0 | xargs -0 -n1 dirname | sort --unique | jq -R -s -c 'split("\n")[:-1]')
|
matrix=$(find . -type f -name "go.mod" -print0 | xargs -0 -n1 dirname | sort --unique | jq -R -s -c 'split("\n")[:-1]')
|
||||||
echo "${matrix}"
|
echo "${matrix}"
|
||||||
echo "::set-output name=matrix::${matrix}"
|
echo "::set-output name=matrix::${matrix}"
|
||||||
lint:
|
check:
|
||||||
name: lint
|
name: Check
|
||||||
needs: matrix
|
needs: matrix
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
@ -46,7 +45,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
working-directory: ${{ matrix.gomod }}
|
working-directory: ${{ matrix.gomod }}
|
||||||
test:
|
test:
|
||||||
name: test
|
name: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
Loading…
Reference in New Issue
Block a user