Skip to content

Commit

Permalink
Uncommenting wasm, java as they work (#37)
Browse files Browse the repository at this point in the history
* wasm, java works okay

* fix lint

* cleanup

* Only trigger java lang

* Only trigger wasm lang

* revert back to both langs

* try docker pruning after builds
  • Loading branch information
ashpect authored Oct 11, 2024
1 parent fb7b60c commit 51b0eec
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: latest
go-version: '1.x'
- name: Lint with golangci-lint
uses: golangci/golangci-lint-action@v6
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/langTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ jobs:
with:
fetch-depth: 0

# TODO:
# - name: Lint
# run: docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.59.1 golangci-lint run -v --enable-all

- name: Build
run: docker compose build

Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/startuptest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,25 @@ jobs:
with:
fetch-depth: 0

# TODO:
# - name: Lint
# run: docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.59.1 golangci-lint run -v --enable-all

- name: Build
run: docker compose build

- name: Docker system prune after build
run: docker system prune -af

- name: Test Binary
env:
BUILDER_ARGS: "runtime rb"
run: docker compose up --exit-code-from binary binary

- name: Docker system prune after test
run: docker system prune -af

- name: Test Startup-Rootless
run: ./test/test.sh rootless startup


- name: Docker system prune after test
run: docker system prune -af

- name: Test Startup-Daemon
run: ./test/test.sh client startup
6 changes: 3 additions & 3 deletions pkg/staging/stages.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ var languageMap = map[string]string{
// "ts": "typescript",
// "file": "file",
// "rpc": "rpc",
// "wasm": "wasm",
// "java": "java",
// // "c": "c",
"wasm": "wasm",
"java": "java",
// "c": "c",
// "cob": "cobol",
// "go": "go",
// "rs": "rust",
Expand Down

0 comments on commit 51b0eec

Please sign in to comment.