Skip to content

allow imported resources to be path expanded and more state reading #1654

allow imported resources to be path expanded and more state reading

allow imported resources to be path expanded and more state reading #1654

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: ['*']
concurrency:
cancel-in-progress: true
group: unit-tests-${{ github.ref }}
name: unit tests
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.22.2'
- uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
~\AppData\Local\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run test
run: |
touch pkg/auth/auth0_client_secret.key
go test -race -v -coverprofile=c.out ./...
- name: Update coverage report
if: github.ref_name == 'main'
uses: ncruces/go-coverage-report@v0
with:
coverage-file: c.out
chart: true
reuse-go: true