From 8e6d08fad1f3e5acae9b178a8201844576b2c75d Mon Sep 17 00:00:00 2001 From: Yuri Shkuro Date: Sun, 13 Dec 2020 15:06:46 -0500 Subject: [PATCH] Fix GH actions Signed-off-by: Yuri Shkuro --- .github/workflows/unit-tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 4cc0185..c7317b5 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -12,6 +12,7 @@ jobs: strategy: fail-fast: true matrix: + job: - dep: true glide: false cov: true @@ -20,7 +21,7 @@ jobs: glide: true cov: false name: unit-tests with glide - name: ${{ matrix.name }} + name: ${{ matrix.job.name }} steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 @@ -31,7 +32,7 @@ jobs: - name: Install dependencies and tools run: | cd $PROJECT - make install-ci USE_DEP=${{ matrix.dep }} USE_GLIDE=${{ matrix.glide }} + make install-ci USE_DEP=${{ matrix.job.dep }} USE_GLIDE=${{ matrix.job.glide }} - name: Run tests run: | cd $PROJECT @@ -42,4 +43,4 @@ jobs: file: cover.out fail_ci_if_error: true verbose: true - if: matrix.cov == 'true' + if: matrix.job.cov == 'true'