feat: add CI pipeline #3

Merged
t.behrendt merged 12 commits from test-CI-pipeline into main 2024-04-01 15:38:08 +02:00
Showing only changes of commit 26f9c2b111 - Show all commits

View File

@@ -20,19 +20,20 @@ jobs:
with: with:
go-version-file: go.mod go-version-file: go.mod
check-latest: true check-latest: true
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1 - name: Create cache key
uses: https://gitea.com/actions/go-hashfiles@v0.0.1
id: hash-go id: hash-go
with: with:
patterns: | patterns: |
go.mod go.mod
go.sum go.sum
- name: cache go - name: cache go
id: cache-go id: cache-go
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
/go_path /go_path
/go_cache /go_cache
key: go_path-${{ steps.hash-go.outputs.hash }} key: go_path-${{ steps.hash-go.outputs.hash }}
- name: build - name: build
run: make build run: make build