Skip to content

Merge pull request #7 from joshuar/release-please--branches--main #20

Merge pull request #7 from joshuar/release-please--branches--main

Merge pull request #7 from joshuar/release-please--branches--main #20

Workflow file for this run

on:
push:
branches:
- main
name: codecov
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Install dependencies
id: install_linux_deps
run: sudo apt-get install -y libevdev-dev
- name: Download modules
run: go mod download
- name: Run coverage
run: sudo go test -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3