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

ci: update Unified CI configuration #50

Merged
merged 2 commits into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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