Skip to content

Commit c0089b2

Browse files
committed
tidyups
1 parent 271b641 commit c0089b2

File tree

4 files changed

+5
-47
lines changed

4 files changed

+5
-47
lines changed

.github/workflows/gno-fmt.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,6 @@ jobs:
3535
- name: Ensure deps are downloaded
3636
run: go mod download
3737

38-
- name: Put $GOBIN on PATH
39-
run: echo "${GOBIN}" >> "$GITHUB_PATH"
40-
41-
- name: Read pinned Gno version from go.mod
42-
id: gnoversion
43-
run: |
44-
V=$(go list -m -f '{{.Version}}' github.com/gnolang/gno)
45-
echo "version=$V" >> "$GITHUB_OUTPUT"
46-
47-
- name: Install gno
48-
run: |
49-
go install github.com/gnolang/gno/gnovm/cmd/gno@${{ steps.gnoversion.outputs.version }}
50-
gno version
51-
5238
- name: Format
5339
working-directory: packages
54-
run: gno fmt -diff ./...
40+
run: go run github.com/gnolang/gno/gnovm/cmd/gno fmt -diff ./...

.github/workflows/gno-lint.yaml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,7 @@ jobs:
3333

3434
- name: Ensure deps are downloaded
3535
run: go mod download
36-
37-
- name: Put $GOBIN on PATH
38-
run: echo "${GOBIN}" >> "$GITHUB_PATH"
39-
40-
- name: Read pinned Gno version from go.mod
41-
id: gnoversion
42-
run: |
43-
V=$(go list -m -f '{{.Version}}' github.com/gnolang/gno)
44-
echo "version=$V" >> "$GITHUB_OUTPUT"
45-
46-
- name: Install gno
47-
run: |
48-
go install github.com/gnolang/gno/gnovm/cmd/gno@${{ steps.gnoversion.outputs.version }}
49-
gno version
50-
36+
s
5137
- name: Lint
5238
working-directory: packages
53-
run: gno lint ./... -v
39+
run: go run github.com/gnolang/gno/gnovm/cmd/gno lint ./... -v

.github/workflows/gno-test.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,6 @@ jobs:
3434
- name: Ensure deps are downloaded
3535
run: go mod download
3636

37-
- name: Put $GOBIN on PATH
38-
run: echo "${GOBIN}" >> "$GITHUB_PATH"
39-
40-
- name: Read pinned Gno version from go.mod
41-
id: gnoversion
42-
run: |
43-
V=$(go list -m -f '{{.Version}}' github.com/gnolang/gno)
44-
echo "version=$V" >> "$GITHUB_OUTPUT"
45-
46-
- name: Install gno
47-
run: |
48-
go install github.com/gnolang/gno/gnovm/cmd/gno@${{ steps.gnoversion.outputs.version }}
49-
gno version
50-
5137
- name: Test
5238
working-directory: packages
53-
run: gno test ./... -v
39+
run: go run github.com/gnolang/gno/gnovm/cmd/gno test ./... -v

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module your/module
1+
module community
22

33
go 1.23.0
44

0 commit comments

Comments
 (0)