Skip to content

Commit

Permalink
Test reviewdog
Browse files Browse the repository at this point in the history
  • Loading branch information
massongit committed Mar 31, 2024
1 parent 20d8e3f commit c219f55
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: test2
on:
pull_request:

jobs:
test2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: go install github.com/massongit/reviewdog/cmd/reviewdog@use_git_diff
- uses: ./
with:
go_version_file: go.mod
fail_on_error: true
7 changes: 1 addition & 6 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@ async function run(): Promise<void> {
await setupGo.run(goVersion, goVersionFile);
});

const reviewdog = await core.group(
"🐶 Installing reviewdog ... https://github.com/reviewdog/reviewdog",
async () => {
return await installer.installReviewdog(reviewdogVersion, tmpdir);
},
);
const reviewdog = "reviewdog";

const golangci = await core.group(
"Installing golangci-lint ... https://github.com/golangci/golangci-lint",
Expand Down

0 comments on commit c219f55

Please sign in to comment.