Skip to content

Merge pull request #117 from Skarlso/dependabot/go_modules/go-1fdcc8f4c0 #184

Merge pull request #117 from Skarlso/dependabot/go_modules/go-1fdcc8f4c0

Merge pull request #117 from Skarlso/dependabot/go_modules/go-1fdcc8f4c0 #184

Workflow file for this run

name: test and lint
on:
pull_request:
paths-ignore:
- 'CODE_OF_CONDUCT.md'
- 'README.md'
- 'Contributing.md'
workflow_call:
push:
branches:
- main
permissions:
contents: read # for actions/checkout to fetch code
jobs:
run-test-suite:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: '${{ github.workspace }}/go.mod'
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: '0.29.0'
- name: Restore Go cache
uses: actions/cache@v4
with:
path: /home/runner/work/_temp/_github_home/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install Helm
uses: azure/setup-helm@v4
- name: Install chart unittest
run: |
helm env
helm plugin install https://github.com/helm-unittest/helm-unittest
- name: Run lint
run: make lint
- name: Run tests
run: make test
- name: Run helm test
run: make helm-test