File tree Expand file tree Collapse file tree 5 files changed +41
-36
lines changed Expand file tree Collapse file tree 5 files changed +41
-36
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Go
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+
11+ test :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+
16+ - name : Set up Go
17+ uses : actions/setup-go@v3
18+ with :
19+ go-version : 1.19
20+
21+ - name : Lint
22+ run : |
23+ go vet -all .
24+ go install github.com/mgechev/revive@latest
25+ revive -config .revive.toml -exclude=./vendor/... ./...
26+
27+ - name : Test
28+ run : go test -v ./...
Original file line number Diff line number Diff line change 11module github.com/lafriks/go-tiled
22
3- go 1.16
3+ go 1.19
44
55require (
66 github.com/disintegration/imaging v1.6.2
7- github.com/stretchr/testify v1.8.1
7+ github.com/stretchr/testify v1.8.2
8+ )
9+
10+ require (
11+ github.com/davecgh/go-spew v1.1.1 // indirect
12+ github.com/pmezard/go-difflib v1.0.0 // indirect
13+ golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 // indirect
14+ gopkg.in/yaml.v3 v3.0.1 // indirect
815)
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS
1010github.com/stretchr/objx v0.5.0 /go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo =
1111github.com/stretchr/testify v1.7.1 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
1212github.com/stretchr/testify v1.8.0 /go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU =
13- github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk =
14- github.com/stretchr/testify v1.8.1 /go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4 =
13+ github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8 =
14+ github.com/stretchr/testify v1.8.2 /go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4 =
1515golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 h1:hVwzHzIUGRjiF7EcUjqNxk3NCfkPxbDKRdnNE1Rpg0U =
1616golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 /go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0 =
1717golang.org/x/text v0.3.0 /go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ =
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const (
3939// ErrInvalidTileGID error is returned when tile GID is not found
4040var ErrInvalidTileGID = errors .New ("tiled: invalid tile GID" )
4141
42- // Axis
42+ // Axis type
4343type Axis string
4444
4545const (
@@ -49,7 +49,7 @@ const (
4949 AxisY Axis = "y"
5050)
5151
52- // StaggerAxis is stagger axis index type
52+ // StaggerIndexType is stagger axis index type
5353type StaggerIndexType string
5454
5555const (
You can’t perform that action at this time.
0 commit comments