mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 14:40:10 +08:00
Use a matrix in testing workflow
This commit is contained in:
7
.github/workflows/test-report-failed-run.yml
vendored
7
.github/workflows/test-report-failed-run.yml
vendored
@@ -4,11 +4,16 @@ on: push
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
language: [javascript]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./init
|
||||
with:
|
||||
languages: javascript
|
||||
languages: ${{ matrix.language }}
|
||||
- name: Fail
|
||||
run: exit 1
|
||||
- uses: ./analyze
|
||||
with:
|
||||
category: "/language:${{ matrix.language }}"
|
||||
|
||||
Reference in New Issue
Block a user