Skip to content

Commit

Permalink
chore: fix license check ci
Browse files Browse the repository at this point in the history
  • Loading branch information
joway committed Jul 26, 2024
1 parent a03554c commit bf5a256
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 34 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/pr-check.yml

This file was deleted.

11 changes: 7 additions & 4 deletions .github/workflows/push-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.15

Expand All @@ -24,7 +27,7 @@ jobs:
${{ runner.os }}-go-
- name: Check License Header
uses: apache/skywalking-eyes@main
uses: apache/skywalking-eyes/header@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -34,4 +37,4 @@ jobs:
go vet -stdmethods=false $(go list ./...)
- name: Unit Test
run: go test -v -cpu=4 -race -covermode=atomic -coverprofile=coverage.out ./...
run: go test -v -race -covermode=atomic -coverprofile=coverage.out ./...

0 comments on commit bf5a256

Please sign in to comment.