mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-13 01:12:55 +01:00
29 lines
589 B
YAML
29 lines
589 B
YAML
name: Example workflow for Codecov
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**.go'
|
|
- 'go.*'
|
|
- '.github/**'
|
|
- 'codecov.yml'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**.go'
|
|
- 'go.*'
|
|
- '.github/**'
|
|
- 'codecov.yml'
|
|
jobs:
|
|
run:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: codecov/codecov-action@v2
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
|