aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/git.yml2
-rw-r--r--.github/workflows/stale-issues-bot.yaml2
-rw-r--r--.github/workflows/test.yml5
3 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/git.yml b/.github/workflows/git.yml
index 6e0ebb6..c7ae9ee 100644
--- a/.github/workflows/git.yml
+++ b/.github/workflows/git.yml
@@ -22,7 +22,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
- go-version: 1.21.x
+ go-version: 1.22.x
- name: Install build dependencies
run: sudo apt-get update && sudo apt-get install gettext libcurl4-openssl-dev
diff --git a/.github/workflows/stale-issues-bot.yaml b/.github/workflows/stale-issues-bot.yaml
index 11b86ae..fe40db3 100644
--- a/.github/workflows/stale-issues-bot.yaml
+++ b/.github/workflows/stale-issues-bot.yaml
@@ -15,7 +15,7 @@ jobs:
with:
ascending: true
operations-per-run: 30
- days-before-stale: 90
+ days-before-stale: 180
days-before-close: 30
stale-issue-label: stale
stale-pr-label: stale
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index f94d3e7..a04763d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- go-version: [1.19.x, 1.20.x, 1.21.x]
+ go-version: [1.20.x, 1.21.x, 1.22.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
@@ -34,3 +34,6 @@ jobs:
- name: Test
run: make test-coverage
+
+ - name: Test Examples
+ run: go test -timeout 30s -v -run '^TestExamples$' github.com/go-git/go-git/v5/_examples --examples