Add workflows
This commit is contained in:
24
.github/workflows/go-test.yaml
vendored
Normal file
24
.github/workflows/go-test.yaml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Go-Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.21
|
||||
- name: Install Helm
|
||||
run: |
|
||||
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
|
||||
chmod 700 get_helm.sh
|
||||
./get_helm.sh
|
||||
- name: Launch Test
|
||||
run: |
|
||||
go test -v ./...
|
Reference in New Issue
Block a user