Skip to content

chore(deps): update module github.com/go-git/go-git/v5 to v5.16.4 #983

chore(deps): update module github.com/go-git/go-git/v5 to v5.16.4

chore(deps): update module github.com/go-git/go-git/v5 to v5.16.4 #983

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
env:
DEFAULT_GO_VERSION: "~1.24.0"
jobs:
generate-and-check:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: ${{ env.DEFAULT_GO_VERSION }}
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
submodules: true
- name: Generate
run: make clean protobuf
- name: Check
run: make toolchain-check check-clean-work-tree
compatibility-test:
strategy:
matrix:
go-version: ["~1.25.0", "~1.24.0"]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
submodules: true
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache-dependency-path: "**/go.sum"
- name: Generate
run: make clean protobuf go-mod-tidy
- name: Run tests
run: make test
test-compatibility:
runs-on: ubuntu-latest
needs: [compatibility-test]
if: always()
steps:
- name: Test if compatibility-test workflow passed
run: |
echo ${{ needs.compatibility-test.result }}
test ${{ needs.compatibility-test.result }} == "success"