Skip to content

Merge pull request #374 from gphotosuploader/dependabot/github_action… #305

Merge pull request #374 from gphotosuploader/dependabot/github_action…

Merge pull request #374 from gphotosuploader/dependabot/github_action… #305

Workflow file for this run

name: Test, build and coverage
on:
push:
branches:
- 'main'
- '*.x'
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
test-matrix:
strategy:
matrix:
go-version: ['1.19', '1.20']
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Build binary
run: make build
- name: Run tests
run: make test
- name: Send code coverage
uses: codecov/codecov-action@v3