Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
ci: update Unified CI configuration (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
web3-bot authored Mar 9, 2023
1 parent c5c2f4f commit ccf75da
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/go-check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.

on: [push, pull_request]
on:
pull_request:
push:
branches:
name: Go Checks

jobs:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.

on: [push, pull_request]
on:
pull_request:
push:
branches:
name: Go Test

jobs:
Expand All @@ -12,8 +15,9 @@ jobs:
os: [ "ubuntu", "windows", "macos" ]
go: ["1.19.x","1.20.x"]
env:
GOFLAGS: -shuffle=on
GOTESTFLAGS: -cover -coverprofile=module-coverage.txt -coverpkg=./...
GOTESTFLAGS: -shuffle=on -cover -coverprofile=module-coverage.txt -coverpkg=./...
GO386FLAGS: -shuffle=on
GORACEFLAGS: -shuffle=on
runs-on: ${{ fromJSON(vars[format('UCI_GO_TEST_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }}
name: ${{ matrix.os }} (go ${{ matrix.go }})
steps:
Expand Down

0 comments on commit ccf75da

Please sign in to comment.