@@ -23,7 +23,7 @@ permissions:
2323 contents : read
2424
2525jobs :
26- providers :
26+ provider :
2727 # Context: https://github.com/golangci/golangci-lint-action/blob/v6.1.1/README.md#annotations
2828 permissions :
2929 # Required: allow read access to the content for analysis.
@@ -42,12 +42,12 @@ jobs:
4242 tool : ${{ format('wash-cli@{0},wasm-tools@{1},wrpc@{2}', env.WASH_VERSION, env.WASM_TOOLS_VERSION, env.WRPC_VERSION) }}
4343 - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
4444 with :
45- go-version-file : " templates/providers /${{ matrix.template-name }}/go.mod"
45+ go-version-file : " templates/provider /${{ matrix.template-name }}/go.mod"
4646 - name : wash new
4747 working-directory : " ${{ runner.temp }}"
4848 run : |
4949 rm -rf sample-provider || true
50- wash new provider --silent --path $GITHUB_WORKSPACE/templates/providers /${{ matrix.template-name }} sample-provider
50+ wash new provider --silent --path $GITHUB_WORKSPACE/templates/provider /${{ matrix.template-name }} sample-provider
5151 - name : wash build
5252 run : wash build
5353 working-directory : " ${{ runner.temp }}/sample-provider"
6060 run : go test -v ./...
6161 working-directory : " ${{ runner.temp }}/sample-provider"
6262
63- components :
63+ component :
6464 # Context: https://github.com/golangci/golangci-lint-action/blob/v6.1.1/README.md#annotations
6565 permissions :
6666 # Required: allow read access to the content for analysis.
@@ -79,15 +79,15 @@ jobs:
7979 tool : ${{ format('wash-cli@{0},wasm-tools@{1}', env.WASH_VERSION, env.WASM_TOOLS_VERSION) }}
8080 - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
8181 with :
82- go-version-file : " templates/components /${{ matrix.template-name }}/go.mod"
82+ go-version-file : " templates/component /${{ matrix.template-name }}/go.mod"
8383 - uses : acifani/setup-tinygo@b2ba42b249c7d3efdfe94166ec0f48b3191404f7 # v2.0.0
8484 with :
8585 tinygo-version : ${{ env.TINYGO_VERSION }}
8686 - name : wash new
8787 working-directory : ${{ runner.temp }}
8888 run : |
8989 rm -rf sample-component || true
90- wash new component --silent --path $GITHUB_WORKSPACE/templates/components /${{ matrix.template-name }} sample-component
90+ wash new component --silent --path $GITHUB_WORKSPACE/templates/component /${{ matrix.template-name }} sample-component
9191 - name : wash build
9292 run : wash build
9393 working-directory : " ${{ runner.temp }}/sample-component"
0 commit comments