Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](4d34df0c23...fac708d667)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
24 lines
846 B
YAML
24 lines
846 B
YAML
name: Tests
|
|
on: [push, workflow_dispatch]
|
|
jobs:
|
|
bats-unit-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
|
- uses: ./.github/actions/setup-test-tools
|
|
- run: bats --tap --timing ./test/unit
|
|
chart-verifier:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
CHART_VERIFIER_VERSION: '1.10.1'
|
|
steps:
|
|
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
|
- name: Setup test tools
|
|
uses: ./.github/actions/setup-test-tools
|
|
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
|
with:
|
|
go-version: '1.19.2'
|
|
- run: go install "github.com/redhat-certification/chart-verifier@${CHART_VERIFIER_VERSION}"
|
|
- run: bats --tap --timing ./test/chart
|
|
permissions:
|
|
contents: read
|