Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisiliya authored Dec 13, 2023
1 parent 4ac4142 commit 63f8539
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,30 @@ on:
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
name: Builds
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
go-version: [1.18.x]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Check out code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Get
run: go get -v ./...

- name: Build
run: go build -v ./...

- name: Build
run: go build -v ./...
- name: Install
run: go install -v ./...

# - name: Test
# run: go test -v ./...
- name: Race Condition Tests
run: go build -race ./...

0 comments on commit 63f8539

Please sign in to comment.