Skip to content

Merge pull request #1175 from onflow/chasefleming/version-1.4.0 #2305

Merge pull request #1175 from onflow/chasefleming/version-1.4.0

Merge pull request #1175 from onflow/chasefleming/version-1.4.0 #2305

Workflow file for this run

name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v1
with:
go-version: '1.19'
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run tests
run: |
make ci
make check-tidy
make check-headers
make check-schema
- name: Upload coverage report
uses: codecov/codecov-action@v1
with:
file: ./coverage.txt
flags: unittests
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
- name: generate
run: make generate
- uses: golangci/[email protected]
with:
version: v1.52.2
args: --timeout=3m