Skip to content

Bump actions/setup-go from 4 to 5 #20

Bump actions/setup-go from 4 to 5

Bump actions/setup-go from 4 to 5 #20

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [ '1.19', '1.20', '1.21.x' ]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Test With Coverage
run: go test -v -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
- name: Code Climate
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: 945dfb58a832d233a3caeb84e3e6d3be212e8c7abcb48117fce63b9adcb43647
with:
coverageLocations: ${{github.workspace}}/coverage.txt