Skip to content

Merge pull request #50 from visualfc/icall_gen #41

Merge pull request #50 from visualfc/icall_gen

Merge pull request #50 from visualfc/icall_gen #41

Workflow file for this run

name: Go1.20
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
macos:
name: Test Go1.20 for macOS
runs-on: macos-latest
steps:
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Go Test
run: go test -race -v .
linux:
name: Test Go1.20 for Linux
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Go Test amd64
run: go test -race -v .
- name: Go Test 386
run: GOARCH=386 go test -v .
windows:
name: Test Go1.20 for Windows
runs-on: windows-latest
steps:
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Go Test amd64
run: go test -race -v .
- name: Go Test 386
run: |
set GOARCH=386
go test -v .