Skip to content

chore(lint): Fix super linter (again) #79

chore(lint): Fix super linter (again)

chore(lint): Fix super linter (again) #79

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- develop
- main
- master
- release/**
permissions:
contents: read
# Automatically cancel run if another commit to the same ref is detected.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-unit-cover:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.21'
check-latest: true
- uses: actions/checkout@v4
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
**/**.sol
**/**.go
go.mod
go.sum
- name: Test and Create Coverage Report
run: |
make test-unit-cover
if: env.GIT_DIFF
- name: Upload coverage report
uses: actions/upload-artifact@v2
with:
name: coverage-report
path: ./coverage.txt