Skip to content

docs: add backlog item for jj HEAD^ ref mistranslation #1112

docs: add backlog item for jj HEAD^ ref mistranslation

docs: add backlog item for jj HEAD^ ref mistranslation #1112

Workflow file for this run

name: build
on:
push:
branches:
tags:
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v7
with:
persist-credentials: false
- name: set up go 1.26
uses: actions/setup-go@v7
with:
go-version: "1.26"
id: go
- name: set up bun
uses: oven-sh/setup-bun@v2
- name: install jq
run: |
command -v jq >/dev/null || { sudo apt-get update && sudo apt-get install -y jq; }
jq --version
- name: build and test
run: |
go test -race -timeout=180s -covermode=atomic -coverprofile=$GITHUB_WORKSPACE/profile.cov_tmp ./...
grep -v -E "_mock.go|/mocks/" $GITHUB_WORKSPACE/profile.cov_tmp > $GITHUB_WORKSPACE/profile.cov
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: "v2.12.2"
- name: install goveralls
run: go install github.com/mattn/goveralls@latest
- name: submit coverage
continue-on-error: true
run: $(go env GOPATH)/bin/goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
lint-scripts:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v7
with:
persist-credentials: false
- name: validate YAML frontmatter in markdown files
run: |
pip install pyyaml
python3 .github/scripts/validate-frontmatter.py
- name: shellcheck
run: |
find . -name '*.sh' -not -path './.git/*' -not -path './vendor/*' -print0 | xargs -0 shellcheck