Skip to content

Commit 1eee825

Browse files
committed
CI
1 parent 06a9998 commit 1eee825

File tree

4 files changed

+56
-1
lines changed

4 files changed

+56
-1
lines changed

.github/release.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
changelog:
2+
categories:
3+
- title: 🟢 New
4+
labels: ["new"]
5+
- title: 🔴 Fixes
6+
labels: ["fix", "bug"]
7+
- title: 📖 Documentation
8+
labels: ["documentation", "docs"]
9+
- title: 🔗 Dependencies
10+
labels: ["dependencies"]
11+
- title: 📦 Other
12+
labels: ["*"]

.github/workflows/check.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Check
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
tags-ignore: [ "**" ]
7+
pull_request:
8+
9+
10+
jobs:
11+
gotest:
12+
strategy:
13+
matrix:
14+
go-version: [1.23.x]
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: actions/setup-go@v5
20+
with:
21+
go-version: ${{ matrix.go-version }}
22+
23+
- name: Run tests
24+
run: go test -race ./...

.github/workflows/release.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
- "v*.*.*-*"
8+
9+
jobs:
10+
release:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Create Release
16+
uses: softprops/action-gh-release@v2
17+
with:
18+
prerelease: ${{ contains(github.ref, '-') }}
19+
generate_release_notes: true

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/destel/dspc
22

3-
go 1.23.3
3+
go 1.23.0

0 commit comments

Comments
 (0)