Skip to content

feat: basic CI

feat: basic CI #15

Workflow file for this run

name: Gno Packages
on:
push:
branches: [ main ]
paths:
- "packages/**"
- ".github/workflows/**"
pull_request:
paths:
- "packages/**"
- ".github/workflows/**"
permissions:
contents: read
env:
GO_VERSION: "1.23.x"
GOBIN: ${{ github.workspace }}/bin
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Ensure deps are downloaded
run: go mod download
- name: Format
working-directory: packages
run: go run github.com/gnolang/gno/gnovm/cmd/gno fmt -diff ./...