Skip to content

Commit 57d4859

Browse files
committed
Updating github-config
1 parent aa88a62 commit 57d4859

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/create-draft-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Go
2525
uses: actions/setup-go@v3
2626
with:
27-
go-version: 1.20.x
27+
go-version: 'stable'
2828
- name: Checkout
2929
uses: actions/checkout@v3
3030
- name: Run Unit Tests
@@ -49,10 +49,9 @@ jobs:
4949
- name: Setup Go
5050
uses: actions/setup-go@v3
5151
with:
52-
go-version: 1.20.x
52+
go-version: 'stable'
5353
- name: Checkout
5454
uses: actions/checkout@v3
55-
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true
5655
- name: Run Integration Tests
5756
run: ./scripts/integration.sh --use-token --builder ${{ matrix.builder }}
5857
env:
@@ -67,10 +66,11 @@ jobs:
6766
- name: Setup Go
6867
uses: actions/setup-go@v3
6968
with:
70-
go-version: 1.20.x
69+
go-version: 'stable'
7170
- name: Checkout
7271
uses: actions/checkout@v3
73-
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true
72+
with:
73+
fetch-tags: true
7474
- name: Reset Draft Release
7575
id: reset
7676
uses: paketo-buildpacks/github-config/actions/release/reset-draft@main

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@v3
1818
with:
19-
go-version: 1.20.x
19+
go-version: 'stable'
2020

2121
- name: Checkout
2222
uses: actions/checkout@v3

.github/workflows/test-pull-request.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Go
2121
uses: actions/setup-go@v3
2222
with:
23-
go-version: 1.20.x
23+
go-version: 'stable'
2424

2525
- name: Checkout
2626
uses: actions/checkout@v3
@@ -49,13 +49,11 @@ jobs:
4949
- name: Setup Go
5050
uses: actions/setup-go@v3
5151
with:
52-
go-version: 1.20.x
52+
go-version: 'stable'
5353

5454
- name: Checkout
5555
uses: actions/checkout@v3
5656

57-
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true
58-
5957
- name: Run Integration Tests
6058
run: ./scripts/integration.sh --use-token --builder ${{ matrix.builder }}
6159
env:

0 commit comments

Comments
 (0)