Skip to content

Commit

Permalink
.github: remove trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajolet-hashicorp authored and nywilken committed May 17, 2024
1 parent 17858a9 commit bd0bfb5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/go-getter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: go-getter

on:
on:
push:
branches:
- v2
Expand Down Expand Up @@ -39,14 +39,14 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Checkout code
uses: actions/checkout@v3

- name: Create test directory
run: |
mkdir -p ${{ env.TEST_RESULTS_PATH }}/go-getter
- name: Setup cache for go modules
uses: actions/cache@v3
with:
Expand All @@ -56,10 +56,10 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Download go modules
run: go mod download

# Check go fmt output because it does not report non-zero when there are fmt changes
- name: Run gofmt
run: |
Expand All @@ -70,7 +70,7 @@ jobs:
echo "$files"
exit 1
fi
- name: Install gotestsum
run: go install gotest.tools/gotestsum@v1.8.2

Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
cd cmd/go-getter
go run . go.mod tmpdir
diff tmpdir/go.mod go.mod
- name: Run Go tests
shell: bash
working-directory: ${{ matrix.directory }}
Expand All @@ -182,7 +182,7 @@ jobs:
echo "Running $(echo $PACKAGE_NAMES | wc -w) packages"
echo $PACKAGE_NAMES
gotestsum --format=short-verbose --junitfile $TEST_RESULTS_PATH/go-getter/gotestsum-report.xml -- -p 2 $PACKAGE_NAMES
# Save coverage report parts
- name: Upload and save artifacts
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -220,6 +220,6 @@ jobs:
run: |
docker-compose build
docker-compose up -d
- name: Run SMB getter tests
run: docker exec -i gogetter bash -c "env ACC_SMB_TEST=1 go test -v ./... -run=TestSmb_"

0 comments on commit bd0bfb5

Please sign in to comment.