diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 69a4eeb..ceab14b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,8 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-latest, ubuntu-latest, macos-latest] + # os: [windows-latest, ubuntu-latest, macos-latest] + os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: @@ -23,9 +24,10 @@ jobs: uses: actions/checkout@v4 - name: Setup Go environment - uses: actions/setup-go@v5.1.0 + uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: 1.22.3 + cache: false - name: Build run: go build -v ./... diff --git a/run_tests.sh b/run_tests.sh new file mode 100755 index 0000000..76dc6d0 --- /dev/null +++ b/run_tests.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +go clean -cache +GO_CACHE=off go build -v ./... +GO_CACHE=off go test ./... -race -coverprofile=coverage.txt -covermode=atomic \ No newline at end of file diff --git a/testdata/scrubber_test.TestVerifyJsonBytesWithRegexScrubber.approved.json b/testdata/scrubber_test.TestVerifyJSONBytesWithRegexScrubber.approved.json similarity index 100% rename from testdata/scrubber_test.TestVerifyJsonBytesWithRegexScrubber.approved.json rename to testdata/scrubber_test.TestVerifyJSONBytesWithRegexScrubber.approved.json