Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Azuki-bar committed Nov 12, 2023
1 parent 79eb9c2 commit 0c3b04c
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/test-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,30 @@ on:
- develop

jobs:
golangci:
name: lint
# golangci:
# name: lint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-go@v4
# with:
# go-version: '1.21'
# cache: false
# - name: golangci-lint
# uses: golangci/golangci-lint-action@v3
# with:
# version: v1.54
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
- name: Build State manager
run: |
go build -race backend/state-manager/cmd/main.go
- name: Test
run: |
go test -v ./...

0 comments on commit 0c3b04c

Please sign in to comment.