all repos

json2go @ 34a739e

convert json to go type annotations

json2go/.github/workflows/go.yml (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
init, 6 months ago
1
name: go
2
on:
3
  workflow_dispatch:
4
  push:
5
    branches: [main]
6
    paths: ["**.go", "go.mod", "go.sum"]
7
  pull_request:
8
    paths: ["**.go", "go.mod", "go.sum"]
9
10
jobs:
11
  release:
12
    runs-on: ubuntu-latest
13
    steps:
14
      - uses: actions/checkout@v5
15
16
      - name: setup go
17
        uses: actions/setup-go@v5
18
        with:
19
          go-version-file: go.mod
20
          cache-dependency-path: go.mod
21
22
      - name: build
23
        run: go build ./cmd/json2go
24
25
      - name: test
26
        run: go test -v ./...