all repos — gomponents @ fc3cc0f0f3a59bf4fe27a4e32dc2ef420b3fa2f8

HTML components in pure Go

Add first implementation of Node, El, Attr, Text

Markus Wüstenberg
commit

fc3cc0f0f3a59bf4fe27a4e32dc2ef420b3fa2f8

1 file changed, 42 insertions(+), 0 deletions(-)

changed files
A .github/workflows/go.yml
@@ -0,0 +1,42 @@
+name: Go + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Set up Go 1.x + uses: actions/setup-go@v2 + with: + go-version: ^1.15 + id: go + + - name: Check out + uses: actions/checkout@v2 + + - name: Get dependencies + run: go get -v -t -d ./... + + - name: Build + run: go build -v . + + - name: Test + run: go test -v ./... + + lint: + name: Lint + runs-on: ubuntu-latest + steps: + - name: Check out + uses: actions/checkout@v2 + + - name: Lint + uses: golangci/golangci-lint-action@v2 + with: + version: v1.30