gaper/.github/workflows/workflow.yml

40 lines
723 B
YAML
Raw Normal View History

2022-08-08 12:31:37 -05:00
name: dev-workflow
2022-08-08 09:14:30 -05:00
on:
- push
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
2022-08-08 09:40:24 -05:00
# - macos-latest
# - windows-latest
2022-08-08 09:14:30 -05:00
go:
- '1.19'
2022-08-08 09:40:24 -05:00
# - '1.18'
# - '1.17'
# - '1.16'
# - '1.15'
2022-08-08 09:14:30 -05:00
env:
OS: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
2022-08-08 09:40:24 -05:00
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.48
2022-08-08 09:14:30 -05:00
- name: Test
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3