Skip to content

ci: update the arch in workflow #15

ci: update the arch in workflow

ci: update the arch in workflow #15

Workflow file for this run

name: Linux Unit Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Test
run: go test -covermode=count -coverprofile=profile.cov ./pkg/...
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=profile.cov -service=github