Skip to content

Commit

Permalink
Adding test on latest Go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
armfazh committed Jun 2, 2022
1 parent 2eb223f commit 8741900
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name: Go
on: [pull_request,push]
---
name: tozan-ecc
on: [pull_request, push]
jobs:

build:
name: Build
name: Build Go-${{ matrix.GOVER }}
runs-on: ubuntu-latest
strategy:
matrix:
GOVER: ['1.18', '1.17', '1.16']
steps:
- name: Setup Go-${{ matrix.GOVER }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.GOVER }}

- name: Set up Go 1.11
uses: actions/setup-go@v1
with:
go-version: 1.11
id: go

- name: Checking out
uses: actions/checkout@v2
- name: Checking out
uses: actions/checkout@v3

- name: Building
run: go build -v .
- name: Building
run: go build -v .

- name: Testing
run: go test -v ./...
- name: Testing
run: go test -v ./...

0 comments on commit 8741900

Please sign in to comment.