Commit c4f7f3d4 authored by Conner Fromknecht's avatar Conner Fromknecht

feat: add bss-core unit tests to GH actions

This was overlooked when
https://github.com/ethereum-optimism/optimism/pull/2107 was merged.
parent 89db65bd
name: bss-core unit tests
on:
push:
paths:
- 'go/bss-core/**'
branches:
- 'master'
- 'develop'
- '*rc'
- 'regenesis/*'
pull_request:
paths:
- 'go/bss-core/*'
workflow_dispatch:
defaults:
run:
working-directory: './go/bss-core'
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test -v ./...
...@@ -29,3 +29,8 @@ jobs: ...@@ -29,3 +29,8 @@ jobs:
with: with:
version: v1.29 version: v1.29
working-directory: go/batch-submitter working-directory: go/batch-submitter
- name: golangci-lint bss-core
uses: golangci/golangci-lint-action@v2
with:
version: v1.29
working-directory: go/bss-core
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment