chore: rename workflow

This commit is contained in:
franklin 2023-01-27 15:55:55 +01:00
parent 8e7d0a227e
commit 4535e78be1
2 changed files with 5 additions and 11 deletions

View File

@ -1,5 +1,4 @@
# This workflow runs all dockerfiles in this repo
name: checks
name: Pull Requests
on:
# Triggers the workflow on push or pull request events but only for the main branch
@ -16,7 +15,7 @@ env:
jobs:
matrix:
name: matrix
name: Matrix
runs-on: ubuntu-latest
outputs:
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]')
echo "${matrix}"
echo "::set-output name=matrix::${matrix}"
lint:
name: lint
check:
name: Check
needs: matrix
runs-on: ubuntu-latest
strategy:
@ -46,7 +45,7 @@ jobs:
with:
working-directory: ${{ matrix.gomod }}
test:
name: test
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

View File

@ -2,11 +2,6 @@
## === Tasks ===
.PHONY: act.push
## Run github push action
act.push:
@act
.PHONY: check
## Run tests and linters
check: test lint