Skip to content

Commit

Permalink
Merge pull request #3 from labd/feat/upgrade-to-7.6.1
Browse files Browse the repository at this point in the history
feat: cleaned up pipelines
  • Loading branch information
demeyerthom authored Jan 14, 2025
2 parents 717345a + a23d514 commit d714ab9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 37 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/release.yaml

This file was deleted.

35 changes: 31 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,46 @@ on:
- main

jobs:
unit:
name: Unit Tests
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18', '1.19', '1.20', '1.21', '1.22', '1.23' ]

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

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

- run: go test -v -cover ./...
- name: Lint code
continue-on-error: true
uses: golangci/golangci-lint-action@v6
with:
args: --issues-exit-code=0 --timeout=5m

- name: Run tests
run: go test -v -cover ./...

changie:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
permissions:
contents: write
pull-requests: write
actions: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Prepare release
uses: labd/changie-release-action@v0.5.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d714ab9

Please sign in to comment.