diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..bb14b6a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +name: Test + +on: [push] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + go: ["1.20"] + os: [ubuntu-latest] + name: ${{ matrix.os }} Go ${{ matrix.go }} Tests + steps: + - uses: actions/checkout@v3 + - name: Setup go + uses: actions/setup-go@v3 + with: + go-version: ${{ matrix.go }} + - run: go test diff --git a/README.md b/README.md index 555a5a5..cf8a9a9 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ Experimental alternative to HTML +![Test](https://github.com/radulucut/htnoml/actions/workflows/test.yml/badge.svg) + ### Example ```htnoml