Skip to content

Commit

Permalink
update flow add working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
realhugn committed Sep 25, 2024
1 parent 1506626 commit f2c0e40
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci_uuid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,23 @@ jobs:

- name: Test
run: go test -v ./...
working-directory: ./uuid-generator

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: ./tinyURL

- name: Run benchmarks
run: go test -bench=. -benchmem ./...
working-directory: ./uuid-generator

- name: Check formatting
run: |
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
echo "The following files are not formatted correctly:"
gofmt -s -l .
exit 1
fi
fi
working-directory: ./uuid-generator

0 comments on commit f2c0e40

Please sign in to comment.