Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
pjreiniger committed Jul 7, 2024
1 parent d24b253 commit 1c861c8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/lint_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
name: "buildifier"
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- name: Set up Go 1.15.x
uses: actions/setup-go@v5
with:
Expand Down Expand Up @@ -78,13 +81,16 @@ jobs:
name: "spotless"
runs-on: ubuntu-latest
steps:
# Run formatters

- uses: actions/checkout@v4

# Run formatters
- name: Run Spotless
run: ./gradlew spotlessApply
- name: Run unused deps
run: unused_deps //...

# Check the diff
# Check the diff
- name: Check Output
run: git --no-pager diff --exit-code HEAD
- name: Generate diff
Expand All @@ -100,6 +106,9 @@ jobs:
name: "unused deps"
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- name: Set up Go 1.15.x
uses: actions/setup-go@v5
with:
Expand Down
2 changes: 2 additions & 0 deletions .styleguide
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ includeGuardRoots {

generatedFileExclude {
examples/project_files/standard/gradlew
BUILD.bazel
BUILD
}

# Used by unit tests
Expand Down

0 comments on commit 1c861c8

Please sign in to comment.