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