Skip to content

Commit

Permalink
hm?
Browse files Browse the repository at this point in the history
  • Loading branch information
sesheffield committed Jul 25, 2024
1 parent aacd007 commit 43507bb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files: '**/*.go' # Ensure the pattern is correct

- name: List all changed files
run: |
Expand All @@ -39,8 +37,9 @@ jobs:
echo "Changed Go files:"
echo "$changed_files"
# Prepare arguments for golangci-lint
lint_args=$(echo "$changed_files" | tr '\n' ' ')
echo "lint_args=$lint_args" >> $GITHUB_ENV
# Filter only Go files
go_files=$(echo "$changed_files" | grep '\.go$' | tr '\n' ' ')
echo "go_files=$go_files" >> $GITHUB_ENV
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
Expand Down

0 comments on commit 43507bb

Please sign in to comment.