Skip to content

chore(ci): update github actions #304

chore(ci): update github actions

chore(ci): update github actions #304

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests:
strategy:
matrix:
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
GO111MODULE: "on"
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: go mod download
- name: Run tests
run: make coverage
- name: Install goveralls
env:
GO111MODULE: "off"
run: go get github.com/mattn/goveralls
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=coverage.out -service=github -ignore=internal/**/*