mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-22 07:26:50 +00:00
CI: Add macOS, Windows x64 and Linux arm64 test support (#1422)
* CI: Add macOS, Windows and Linux arm64 support * Modify arm64 job name to be inline with the others * linter: Prevent cache from causing "Cannot open: File exists" issues * Use setup-go and setup-node's inbuilt caching
This commit is contained in:
12
.github/workflows/arm64.Dockerfile
vendored
Normal file
12
.github/workflows/arm64.Dockerfile
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM arm64v8/golang:1.21
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download && go mod verify
|
||||
|
||||
COPY . /app
|
||||
|
||||
RUN go build
|
||||
|
||||
CMD ["go", "test", "./..."]
|
||||
Reference in New Issue
Block a user