From 08eda925408a506f689473c406428756ecedce67 Mon Sep 17 00:00:00 2001 From: nabim777 Date: Wed, 23 Aug 2023 15:45:37 +0545 Subject: [PATCH] changing the bat install --- .github/workflows/test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6e57da3..bad96ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,11 +21,12 @@ jobs: - name: Display Go version run: go version - - name: Install bats - run: | - sudo apt-get install bats + - name: Setup Bats + uses: mig4/setup-bats@v1 + with: + bats-version: 1.2.1 - name: bats run - working-directory: ./ + working-directory: ./tests run: | - bats tests/test_scan_command.bats \ No newline at end of file + bats test_scan_command.bats \ No newline at end of file