Skip to content

Support confirmation for changing immutable commits #1423

Support confirmation for changing immutable commits

Support confirmation for changing immutable commits #1423

Workflow file for this run

name: Build & Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.25.0'
- name: Check if `go fmt` and `go mod tidy` make any changes
run: |
set -x
go fmt ./...
go mod tidy
git diff --exit-code
test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
needs: lint
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.25.0'
- name: Test
run: go test -v ./...