-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from radu-matei/feat/golang
- Loading branch information
Showing
19 changed files
with
604 additions
and
3,867 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,11 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install nodejs | ||
uses: actions/setup-node@v3 | ||
- name: Setup TinyGo | ||
uses: rajatjindal/setup-actions/[email protected] | ||
id: setup | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install NPM dependencies for explorer | ||
shell: bash | ||
run: | | ||
cd explorer | ||
npm install - | ||
version: "v0.27.0" | ||
|
||
- name: Install Spin canary | ||
uses: engineerd/[email protected] | ||
|
@@ -28,12 +23,6 @@ jobs: | |
url: "https://github.com/fermyon/spin/releases/download/canary/spin-canary-linux-amd64.tar.gz" | ||
pathInArchive: "spin" | ||
|
||
- name: Install the Spin JS plugin | ||
shell: bash | ||
run: | | ||
spin plugin update | ||
spin plugin install js2wasm -y | ||
- name: Build application | ||
shell: bash | ||
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
main.wasm | ||
.spin/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
node_modules | ||
dist | ||
target | ||
.spin/ | ||
main.wasm | ||
.spin/ |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module github.com/golang_explorer | ||
|
||
go 1.17 | ||
|
||
require github.com/fermyon/spin/sdk/go v1.0.0 | ||
|
||
require github.com/julienschmidt/httprouter v1.3.0 // indirect | ||
|
||
replace github.com/fermyon/spin/sdk/go v1.0.0 => github.com/radu-matei/spin/sdk/go v0.0.0-20230406224338-9d78631f2c2b |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U= | ||
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= | ||
github.com/radu-matei/spin/sdk/go v0.0.0-20230406224338-9d78631f2c2b h1:YjGlkvD2pkytU/DdJI+Bg6Zc73SNLToCcKQjKV3H5pc= | ||
github.com/radu-matei/spin/sdk/go v0.0.0-20230406224338-9d78631f2c2b/go.mod h1:yb8lGesopgj/GwPzLPATxcOeqWZT/HjrzEFfwbztAXE= |
Oops, something went wrong.