mirror of
https://github.com/github/codeql-action
synced 2026-05-29 05:00:55 +03:00
Use a matrix in testing workflow
This commit is contained in:
@@ -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