Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Re-testing everything #7

Merged
merged 9 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
matrix:
example:
- http-server
- http-client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -63,6 +64,10 @@ jobs:
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: ${{ env.TINYGO_VERSION }}
- uses: golangci/golangci-lint-action@v6
with:
version: ${{ env.GOLANGCI_VERSION }}
working-directory: "_examples/${{ matrix.example }}"
- uses: wasmCloud/common-actions/install-wash@main
- uses: cargo-bins/cargo-binstall@main
- name: Tools
Expand All @@ -82,4 +87,5 @@ jobs:

- name: wash build
working-directory: "_examples/${{ matrix.example }}"
run: wash build
run: wash build

10 changes: 6 additions & 4 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
run:
tests: false
modules-download-mode: readonly

output:
uniq-by-line: false
show-stats: true
Expand All @@ -10,8 +14,7 @@ output:
linters:
enable:
- gofmt
# TODO(lxf): enable once we are ready to start releasing
#- revive
- revive
- thelper
- mirror
- usestdlibvars
Expand Down Expand Up @@ -95,5 +98,4 @@ linters-settings:
# List of words to ignore
# among the one defined in https://github.com/golangci/misspell/blob/master/words.go
ignore-words:
# - valor
# - and
- WASM
Empty file.
3 changes: 3 additions & 0 deletions _examples/http-client/build/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Keep the directory but ignore all files. Dir is required to exist by the build process
*
!.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _examples/http-client/gen/wasi/cli/environment/empty.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file exists for testing this package without WebAssembly,
// allowing empty function bodies with a //go:wasmimport directive.
// See https://pkg.go.dev/cmd/compile for more information.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _examples/http-client/gen/wasi/cli/exit/empty.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file exists for testing this package without WebAssembly,
// allowing empty function bodies with a //go:wasmimport directive.
// See https://pkg.go.dev/cmd/compile for more information.
25 changes: 25 additions & 0 deletions _examples/http-client/gen/wasi/cli/exit/exit.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _examples/http-client/gen/wasi/cli/stderr/empty.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file exists for testing this package without WebAssembly,
// allowing empty function bodies with a //go:wasmimport directive.
// See https://pkg.go.dev/cmd/compile for more information.
24 changes: 24 additions & 0 deletions _examples/http-client/gen/wasi/cli/stderr/stderr.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _examples/http-client/gen/wasi/cli/stdin/empty.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file exists for testing this package without WebAssembly,
// allowing empty function bodies with a //go:wasmimport directive.
// See https://pkg.go.dev/cmd/compile for more information.
24 changes: 24 additions & 0 deletions _examples/http-client/gen/wasi/cli/stdin/stdin.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _examples/http-client/gen/wasi/cli/stdout/empty.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file exists for testing this package without WebAssembly,
// allowing empty function bodies with a //go:wasmimport directive.
// See https://pkg.go.dev/cmd/compile for more information.
24 changes: 24 additions & 0 deletions _examples/http-client/gen/wasi/cli/stdout/stdout.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _examples/http-client/gen/wasi/cli/terminal-input/empty.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file exists for testing this package without WebAssembly,
// allowing empty function bodies with a //go:wasmimport directive.
// See https://pkg.go.dev/cmd/compile for more information.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _examples/http-client/gen/wasi/cli/terminal-output/empty.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file exists for testing this package without WebAssembly,
// allowing empty function bodies with a //go:wasmimport directive.
// See https://pkg.go.dev/cmd/compile for more information.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _examples/http-client/gen/wasi/cli/terminal-stderr/empty.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file exists for testing this package without WebAssembly,
// allowing empty function bodies with a //go:wasmimport directive.
// See https://pkg.go.dev/cmd/compile for more information.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _examples/http-client/gen/wasi/cli/terminal-stdin/empty.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file exists for testing this package without WebAssembly,
// allowing empty function bodies with a //go:wasmimport directive.
// See https://pkg.go.dev/cmd/compile for more information.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading