Skip to content

Commit d714ab9

Browse files
authored
Merge pull request #3 from labd/feat/upgrade-to-7.6.1
feat: cleaned up pipelines
2 parents 717345a + a23d514 commit d714ab9

File tree

2 files changed

+31
-37
lines changed

2 files changed

+31
-37
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/tests.yaml

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,46 @@ on:
77
- main
88

99
jobs:
10-
unit:
11-
name: Unit Tests
10+
test:
11+
name: Test
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
1515
go-version: [ '1.18', '1.19', '1.20', '1.21', '1.22', '1.23' ]
1616

1717
steps:
18-
- uses: actions/checkout@v4
18+
- name: Checkout
19+
uses: actions/checkout@v4
1920

2021
- name: Set up Go
2122
uses: actions/setup-go@v5
2223
with:
2324
go-version: ${{ matrix.go-version }}
2425

25-
- run: go test -v -cover ./...
26+
- name: Lint code
27+
continue-on-error: true
28+
uses: golangci/golangci-lint-action@v6
29+
with:
30+
args: --issues-exit-code=0 --timeout=5m
31+
32+
- name: Run tests
33+
run: go test -v -cover ./...
34+
35+
changie:
36+
runs-on: ubuntu-latest
37+
needs: test
38+
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
39+
permissions:
40+
contents: write
41+
pull-requests: write
42+
actions: write
43+
steps:
44+
- uses: actions/checkout@v4
45+
with:
46+
fetch-depth: 0
47+
48+
- name: Prepare release
49+
uses: labd/changie-release-action@v0.5.0
50+
with:
51+
github-token: ${{ secrets.GITHUB_TOKEN }}
52+

0 commit comments

Comments
 (0)