Skip to content

Commit

Permalink
initial lib
Browse files Browse the repository at this point in the history
  • Loading branch information
aviau committed Sep 13, 2024
1 parent 65090c0 commit ccc3dc1
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Tests
on: push
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [
'1.23',
]
name: Golang ${{ matrix.go-version }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- run: make test
- run: make lint
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: test
test:
go test -v ./...

.PHONY: lint
lint:
go vet ./...
1 change: 1 addition & 0 deletions api_client.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package flareio
6 changes: 6 additions & 0 deletions api_client_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package flareio

import "testing"

func TestExample(t *testing.T) {
}
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/Flared/go-flareio

go 1.23.1

0 comments on commit ccc3dc1

Please sign in to comment.