Skip to content

Commit c0e86e8

Browse files
committed
Add CI configurations. Edit README
1 parent 34207d2 commit c0e86e8

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test
2+
3+
on: [push, pull_request]
4+
5+
defaults:
6+
run:
7+
shell: bash
8+
9+
jobs:
10+
test:
11+
name: Test on ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, windows-latest, macos-latest]
16+
go-version: ['1.18.x', '1.19.x', '1.20.x']
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v3
21+
22+
- name: Set up Go
23+
uses: actions/setup-go@v3
24+
with:
25+
go-version: ${{ matrix.go-version }}
26+
27+
- name: Get dependencies
28+
run: go get -v -t -d ./...
29+
30+
- name: Test code
31+
run: go test -v ./...

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# go-open-soql-visualizer
2+
SOQL query visualizer powered by [go-open-soql-parser](https://github.com/shellyln/go-open-soql-parser) and Mermaid.
23

34

5+
[![Test](https://github.com/shellyln/go-open-soql-visualizer/actions/workflows/test.yml/badge.svg)](https://github.com/shellyln/go-open-soql-visualizer/actions/workflows/test.yml)
6+
[![release](https://img.shields.io/github/v/release/shellyln/go-open-soql-visualizer)](https://github.com/shellyln/go-open-soql-visualizer/releases)
7+
[![Go version](https://img.shields.io/github/go-mod/go-version/shellyln/go-open-soql-visualizer)](https://github.com/shellyln/go-open-soql-visualizer)
8+
9+
<img src="https://raw.githubusercontent.com/shellyln/go-open-soql-parser/master/_assets/logo-opensoql.svg" alt="logo" style="width:250px;" width="250">
10+
11+
## 🧭 Demo
412

513
## ⚖️ License
614

0 commit comments

Comments
 (0)