Skip to content

Commit

Permalink
Merge pull request #437 from cloudwego/release/v0.3.0
Browse files Browse the repository at this point in the history
chore: release v0.3.0
  • Loading branch information
YangruiEmma authored Apr 29, 2022
2 parents 49b85c4 + 6ffe4cf commit 5c30cb1
Show file tree
Hide file tree
Showing 105 changed files with 9,139 additions and 520 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Pull Request Check
name: Push and Pull Request Check

on: pull_request
on: [push, pull_request]

jobs:
build:
Expand All @@ -11,7 +11,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.18

- uses: actions/cache@v2
with:
Expand All @@ -20,6 +20,26 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Check License Header
uses: apache/skywalking-eyes@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: typos-action
uses: crate-ci/[email protected]

- name: Lint
run: |
go vet -stdmethods=false $(go list ./...)
go install mvdan.cc/[email protected]
test -z "$(gofumpt -l -extra .)"
- name: Unit Test
run: go test -race -covermode=atomic -coverprofile=coverage.out ./...

- name: Benchmark
run: go test -bench=. -benchmem -run=none ./...

- name: Scenario Tests
run: |
cd ..
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/push-check.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Files generated by IDEs
.idea/
*.iml

# Vim swap files
*.swp

# Vscode files
.vscode

Expand Down
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ header:
- pkg/remote/codec/protobuf/test.pb.go
- pkg/generic/descriptor/tree.go
- pkg/generic/descriptor/tree_test.go
- pkg/protocol/bprotoc/wire.go
- pkg/utils/json.go

comment: on-failure
Loading

0 comments on commit 5c30cb1

Please sign in to comment.