8000 Merge pull request #465 from symfony-cli/ci/cleanup · symfony-cli/symfony-cli@b5a1d92 · GitHub
[go: up one dir, main page]

Skip to content

Commit b5a1d92

Browse files
authored
Merge pull request #465 from symfony-cli/ci/cleanup
ci: cleanup config for less maintenance
2 parents bcb3b6e + 33258ca commit b5a1d92

File tree

3 files changed

+4
-20
lines changed

3 files changed

+4
-20
lines changed

.github/workflows/go_generate_update.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,9 @@ jobs:
1515
uses: actions/checkout@v3
1616
-
1717
name: Set up Go
18-
uses: actions/setup-go@v3
18+
uses: actions/setup-go@v5
1919
with:
20-
go-version: '^1.22.0'
21-
- uses: actions/cache@v3
22-
with:
23-
path: |
24-
~/.cache/go-build
25-
~/go/pkg/mod
26-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
27-
restore-keys: |
28-
${{ runner.os }}-go-
20+
go-version-file: 'go.mod'
2921
-
3022
name: Prepare
3123
run: |

.github/workflows/releaser.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,7 @@ jobs:
3535
name: Set up Go
3636
uses: actions/setup-go@v5
3737
with:
38-
go-version: '^1.22.0'
39-
- uses: actions/cache@v4
40-
with:
41-
path: |
42-
~/.cache/go-build
43-
~/go/pkg/mod
44-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
45-
restore-keys: |
46-
${{ runner.os }}-go-
38+
go-version-file: 'go.mod'
4739
-
4840
name: Set AUTOUPDATE_CHANNEL on tags
4941
run: echo "AUTOUPDATE_CHANNEL=stable" >> $GITHUB_ENV

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/symfony-cli/symfony-cli
22

3-
go 1.22.0
3+
go 1.22.2
44

55
require (
66
github.com/NYTimes/gziphandler v1.1.1

0 commit comments

Comments
 (0)
0