Skip to content

Rename module to GitHub path #4

Rename module to GitHub path

Rename module to GitHub path #4

Workflow file for this run

name: ci
on:
push:
pull_request:
permissions:
contents: read
env:
GOLANGCI_LINT_VERSION: "v2.12.2"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
args: ./...
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Test
run: |
go version
go test ./...