Skip to content

Commit

Permalink
Merge pull request #1 from threshold-network/cleanup-and-actions
Browse files Browse the repository at this point in the history
Setting up base struct for CI
  • Loading branch information
eth-r authored Dec 13, 2023
2 parents 3becd30 + 27f53a4 commit 30a3c08
Show file tree
Hide file tree
Showing 16 changed files with 41 additions and 2,311 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Go

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"

- name: Format
run: |
if [ $(gofmt -l . | wc -l) -gt 0 ]; then
gofmt -d -e .
exit 1
fi
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
173 changes: 0 additions & 173 deletions bip340.go

This file was deleted.

Loading

0 comments on commit 30a3c08

Please sign in to comment.