Skip to content

Commit

Permalink
Use 'matrix.target' instead of 'matrix.command'
Browse files Browse the repository at this point in the history
  • Loading branch information
Branan Riley committed Jun 14, 2021
1 parent df7288a commit 276c594
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
name: Tests
jobs:
tests:
name: ${{ matrix.command }}
name: ${{ matrix.target }}
strategy:
matrix:
os: [ubuntu-latest]
command: [tests, lint]
target: [tests, lint]
runs-on: ${{ matrix.os }}
env:
RUST_TOOLCHAIN: "nightly-2021-03-15"
Expand All @@ -34,5 +34,5 @@ jobs:
- name: Run tests
run: ./ci/script.sh
env:
TARGET: ${{ matrix.command }}
TARGET: ${{ matrix.target }}

0 comments on commit 276c594

Please sign in to comment.