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:
Adrian Gallagher
2023-12-28 14:55:50 +11:00
committed by GitHub
parent 2b3c63c5b3
commit e8e0ff3a35
12 changed files with 138 additions and 368 deletions

12
.github/workflows/arm64.Dockerfile vendored Normal file
View 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", "./..."]