Skip to content

Commit 9d8bb52

Browse files
Rename workflows
1 parent 9a3c00f commit 9d8bb52

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github/workflows/build.yml renamed to .github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Build
22
on:
33
push:
44
branches:
5-
- "master"
5+
- main
66
pull_request:
77
branches:
8-
- "*"
8+
- '*'
99
jobs:
1010
build:
1111
strategy:
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
name: Build & Test
1616
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions/setup-go@v2
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-go@v5
1919
with:
20-
go-version: "^1.16.0"
20+
go-version: "^1.22.0"
2121
- run: go mod tidy
2222
- name: Build & Test
2323
run: |

.github/workflows/release.yml renamed to .github/workflows/release.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@ name: Release
22
on:
33
push:
44
tags:
5-
- v*.*.*
5+
- 'v*.*.*'
66
jobs:
77
build:
88
runs-on: ubuntu-latest
99
name: goreleaser
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-go@v2
11+
- uses: actions/checkout@v4
1312
with:
14-
go-version: "^1.16.0"
13+
fetch-depth: 0
14+
- uses: actions/setup-go@v5
15+
with:
16+
go-version: "^1.22.0"
1517
- name: Release via goreleaser
1618
uses: goreleaser/goreleaser-action@v6
1719
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
easy-params
3+
.idea/
34

45
dist/
56

0 commit comments

Comments
 (0)