test.yml
This file
The walk stopped after 200 commits: lines older than 89d7b83 point at it.
Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
lines 1–5why, one step back1name: Test23on:4 push:5 pull_request:ci: add workflow_dispatch (#1387)Unai Martinez-Corralbefore adoption459fc5f
line 6why, one step back6 workflow_dispatch:Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
lines 7–10why, one step back78env:9 GO111MODULE: on10ci: add minimum GitHub token permissions for workflows (#1792)Varun Sharmabefore adoption23fc5e0
lines 11–13why, one step back11permissions:12 contents: read13Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
lines 14–15why, one step back14jobs:15add missing license headers (#1809)Unai Martinez-Corralbefore adoption6d978a9
lines 16–20why, one step back1617 lic-headers:18 runs-on: ubuntu-latest19 steps:20build(deps): bump actions/checkout from 3 to 4 (#2028)dependabot[bot]before adoption48cea5c
line 21why, one step back21 - uses: actions/checkout@v4add missing license headers (#1809)Unai Martinez-Corralbefore adoption6d978a9
lines 22–27why, one step back2223 - run: >-24 docker run25 -v $(pwd):/wrk -w /wrk26 ghcr.io/google/addlicense27 -c 'The Cobra Authors'update copyright year (#1927)Unai Martinez-Corralbefore adoption9e6b58a
line 28why, one step back28 -y '2013-2023'add missing license headers (#1809)Unai Martinez-Corralbefore adoption6d978a9
lines 29–34why, one step back29 -l apache30 -ignore '.github/**'31 -check32 .3334Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
line 35why, one step back35 golangci-lint:ci: add minimum GitHub token permissions for workflows (#1792)Varun Sharmabefore adoption23fc5e0
lines 36–38why, one step back36 permissions:37 contents: read # for actions/checkout to fetch code38 pull-requests: read # for golangci/golangci-lint-action to fetch pull requestsAdd Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
lines 39–41why, one step back39 runs-on: ubuntu-latest40 steps:41build(deps): bump actions/checkout from 3 to 4 (#2028)dependabot[bot]before adoption48cea5c
line 42why, one step back42 - uses: actions/checkout@v4ci: use action/setup-go's cache (#1783)Unai Martinez-Corralbefore adoption4065a33
line 43why, one step back43fix: actions/setup-go v6 (#2337)John McBridebefore adoption346d408
line 44why, one step back44 - uses: actions/setup-go@v6Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
line 45why, one step back45 with:ci: test golang 1.22 (#2113)damasbefore adoptionc69ae4c
line 46why, one step back46 go-version: '^1.22'ci: test on Golang 1.19 (#1782)Unai Martinez-Corralbefore adoption7045405
line 47why, one step back47 check-latest: trueci: use action/setup-go's cache (#1783)Unai Martinez-Corralbefore adoption4065a33
line 48why, one step back48 cache: trueAdd Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
line 49why, one step back49chore(golangci-lint): upgrade to v2Ville Skyttäbefore adoption75790e4
line 50why, one step back50 - uses: golangci/golangci-lint-action@v8.0.0Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
lines 51–54why, one step back51 with:52 version: latest53 args: --verbose54add missing license headers (#1809)Unai Martinez-Corralbefore adoption6d978a9
line 55why, one step back55Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
lines 56–65why, one step back56 test-unix:57 strategy:58 fail-fast: false59 matrix:60 platform:61 - ubuntu62 - macOS63 go:64 - 1765 - 18ci: test on Golang 1.19 (#1782)Unai Martinez-Corralbefore adoption7045405
line 66why, one step back66 - 19ci: test Golang 1.20 (#1925)Unai Martinez-Corralbefore adoptionfb36524
line 67why, one step back67 - 20ci: test golang 1.21 (#2024)Nuno Adregobefore adoptionc5dacb3
line 68why, one step back68 - 21ci: test golang 1.22 (#2113)damasbefore adoptionc69ae4c
line 69why, one step back69 - 22Test also with go 1.23 (#2182)Nir Sofferbefore adoption78bfc83
line 70why, one step back70 - 23Test with Go 1.24 (#2236)Chongyi Zhengbefore adoption0d417d8
line 71why, one step back71 - 24Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
lines 72–73why, one step back72 name: '${{ matrix.platform }} | 1.${{ matrix.go }}.x'73 runs-on: ${{ matrix.platform }}-latest74 # macOS runner environments require compiled binaries to contain an LC_UUID load command.75 # Go 1.24+ natively resolves this by writing LC_UUID in Go's internal linker.76 # For Go < 1.24, we pass -ldflags=-linkmode=external on macOS to force external linking via the system linker.77 env:78 GO_TEST_FLAGS: ${{ matrix.platform == 'macOS' && matrix.go < 24 && '-ldflags=-linkmode=external' || '' }}Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
lines 79–80why, one step back79 steps:80build(deps): bump actions/checkout from 3 to 4 (#2028)dependabot[bot]before adoption48cea5c
line 81why, one step back81 - uses: actions/checkout@v4Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
line 82why, one step back82fix: actions/setup-go v6 (#2337)John McBridebefore adoption346d408
line 83why, one step back83 - uses: actions/setup-go@v6Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
line 84why, one step back84 with:ci: use action/setup-go's cache (#1783)Unai Martinez-Corralbefore adoption4065a33
lines 85–86why, one step back85 go-version: 1.${{ matrix.go }}.x86 cache: trueAdd Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
lines 87–89why, one step back8788 - run: |89 export GOBIN=$HOME/go/binci: deprecate go 1.15 (#1866)Unai Martinez-Corralbefore adoption9235920
lines 90–91why, one step back90 go install github.com/kyoh86/richgo@latest91 go install github.com/mitchellh/gox@latestAdd Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
line 92why, one step back92Makefile: add target richtest (#1865)Unai Martinez-Corralbefore adoption6200c8e
line 93why, one step back93 - run: RICHGO_FORCE_COLOR=1 PATH=$HOME/go/bin/:$PATH make richtestadd missing license headers (#1809)Unai Martinez-Corralbefore adoption6d978a9
line 94why, one step back94Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
lines 95–116why, one step back9596 test-win:97 name: MINGW6498 defaults:99 run:100 shell: msys2 {0}101 runs-on: windows-latest102 steps:103104 - shell: bash105 run: git config --global core.autocrlf input106107 - uses: msys2/setup-msys2@v2108 with:109 msystem: MINGW64110 update: true111 install: >112 git113 make114 unzip115 mingw-w64-x86_64-go116build(deps): bump actions/checkout from 3 to 4 (#2028)dependabot[bot]before adoption48cea5c
line 117why, one step back117 - uses: actions/checkout@v4Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
line 118why, one step back118build(deps): bump actions/cache from 3 to 4 (#2102)dependabot[bot]before adoptiona30cee5
line 119why, one step back119 - uses: actions/cache@v4Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83
lines 120–129why, one step back120 with:121 path: ~/go/pkg/mod122 key: ${{ runner.os }}-${{ matrix.go }}-${{ hashFiles('**/go.sum') }}123 restore-keys: ${{ runner.os }}-${{ matrix.go }}-124125 - run: |126 export GOBIN=$HOME/go/bin127 go install github.com/kyoh86/richgo@latest128 go install github.com/mitchellh/gox@latest129Makefile: add target richtest (#1865)Unai Martinez-Corralbefore adoption6200c8e
line 130why, one step back130 - run: RICHGO_FORCE_COLOR=1 PATH=$HOME/go/bin:$PATH make richtest