Skip to content

Update range autofix (#35) #101

Update range autofix (#35)

Update range autofix (#35) #101

Workflow file for this run

name: ci
on: [push, pull_request]
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
cache: true
- run: go build -v ./...
lint:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
cache: false
- uses: golangci/golangci-lint-action@v6
with:
version: latest
install-mode: goinstall
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
cache: false
- run: go test -v ./...