Skip to content

Commit

Permalink
Merge pull request #37 from alexflint/bump-ci-versions
Browse files Browse the repository at this point in the history
Bump versions of Go used in CI
  • Loading branch information
alexflint authored Dec 2, 2024
2 parents 503d0e2 + b618887 commit 2e1585b
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,33 @@
name: Go

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [push]

jobs:

build_and_test:
name: Build and test
test:
name: Test
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
go: ['1.13', '1.14', '1.15', '1.16']
go: ['1.22', '1.23', 'stable']

steps:
- name: Checkout
uses: actions/checkout@v4

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

- name: Checkout
uses: actions/checkout@v2

- name: Build
run: go build -v .

- name: Test
run: go test -v -coverprofile=profile.cov .

- name: Send coverage
- name: Coverage
run: bash <(curl -s https://codecov.io/bash) -f profile.cov

0 comments on commit 2e1585b

Please sign in to comment.