Skip to content

Commit

Permalink
fix: mark the workspace as safe to prevent a go build error
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Wasilewski <[email protected]>
  • Loading branch information
mwasilew2 committed Sep 28, 2023
1 parent d1f81f0 commit f830535
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v3

- name: Mark source directory as safe.
run: git config --global --add safe.directory $GITHUB_WORKSPACE

- name: Check formatting using gofmt
run: gofmt -s -l -d .

Expand Down

0 comments on commit f830535

Please sign in to comment.