Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
luxifer committed Nov 7, 2023
1 parent acd440d commit 8d5629d
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,19 @@ on: [push]
jobs:

build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.13', '1.14' ]
go-version: [ '1.20', '1.21' ]

steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}

- name: Test
run: go test -v .

0 comments on commit 8d5629d

Please sign in to comment.