Skip to content

Commit

Permalink
Merge pull request #33 from navidys/ci_update
Browse files Browse the repository at this point in the history
ghaction update
  • Loading branch information
navidys authored Jan 27, 2024
2 parents db61544 + 81abb7a commit 75c6e4e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
Unit_test:
unit_test:
name: Unit test
runs-on: ubuntu-latest
steps:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,23 @@ jobs:
make lint
make gofmt
unit_test:
name: Unit test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.18
uses: actions/setup-go@v1
with:
go-version: 1.18
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
run: |
export GOBIN=$(pwd)/bin/
make .install.ginkgo
goreportcard:
name: update reportcard
Expand Down

0 comments on commit 75c6e4e

Please sign in to comment.