fix(application): update resource example to use correct charm storage #323
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Terraform Provider testing workflow using different terraform versions | |
# and clouds. | |
name: Unit Tests | |
# This GitHub action runs your tests for each pull request. | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
# paths-ignore: | |
# DON'T SET - these are "required" so they need to run on every PR | |
push: | |
branches: | |
- "main" | |
# Testing only needs permissions to read the repository contents. | |
permissions: | |
contents: read | |
jobs: | |
# Ensure project builds before running unit tests | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- run: go build -v . | |
# Run internal/juju unit tests | |
test: | |
name: Juju unit tests | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- run: make juju-unit-test |