Skip to content

Commit

Permalink
added version in install guide + GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteriousPotato committed Oct 1, 2023
1 parent d2dc31c commit 170adb5
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Pipeline

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:

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

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.21"

- name: Test
run: |
go get ./...
go vet ./...
go test -v -race ./...
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ Lexigo is still in the early stage of development, expect breaking changes.

#### Codegen:
```bash
go install github.com/MysteriousPotato/lexigo/cmd/lexigogen
go install github.com/MysteriousPotato/lexigo/cmd/lexigogen@v0.1.0
```

#### Library:
```bash
go install github.com/MysteriousPotato/lexigo/pkg
go get github.com/MysteriousPotato/lexigo/pkg@v0.1.0
```

## Usage
Expand Down

0 comments on commit 170adb5

Please sign in to comment.