-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump faas-js-runtime and cloudevents for node & TS (#1873)
* chore: bump faas-js-runtime and cloudevents for node & TS The Node.js and TypeScript templates have been bumped to the latest versions of faas-js-runtime (2.2.2) and CloudEvents (7.0.1). There is an issue with the `expectType` test for TypeScript CloudEvent functions which I can't quite figure out, but the type test is not critical and does not do anything to validate other than whether the function signature is what's expected by faas-js-runtime, and in this case, I think type exported type for faas-js-runtime may actually be the issue here. Signed-off-by: Lance Ball <[email protected]> * chore: pin all github actions to go 1.20.2 There was a change in how go parses URLs in versions higher than 1.20.2 (likely 1.20.6 and up) which breaks the Docker API's handling of daemon URIs. This fix pins the Go version at a version known to work with the existing Docker API and `func` implementation. Signed-off-by: Lance Ball <[email protected]> --------- Signed-off-by: Lance Ball <[email protected]>
- Loading branch information
Showing
21 changed files
with
13,796 additions
and
12,256 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
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.20" | ||
go-version: "1.20.2" | ||
- name: Lint | ||
run: make check && make check-templates | ||
- name: Check that 'func.yaml schema' is up-to-date | ||
|
@@ -22,7 +22,7 @@ jobs: | |
test-unit: | ||
strategy: | ||
matrix: | ||
go: [ 1.20.x ] | ||
go: [ 1.20.2 ] | ||
java: [ 17 ] | ||
os: [ "ubuntu-latest", "windows-latest", "macos-latest" ] | ||
runs-on: ${{ matrix.os }} | ||
|
@@ -50,7 +50,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.20" | ||
go-version: "1.20.2" | ||
- name: Install Binaries | ||
run: ./hack/binaries.sh | ||
- name: Allocate Cluster | ||
|
@@ -67,7 +67,7 @@ jobs: | |
e2e-test: | ||
strategy: | ||
matrix: | ||
go: [1.20.x] | ||
go: [1.20.2] | ||
os: ["ubuntu-latest"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -91,7 +91,7 @@ jobs: | |
e2e-on-cluster-test: | ||
strategy: | ||
matrix: | ||
go: [1.20.x] | ||
go: [1.20.2] | ||
os: ["ubuntu-latest"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -126,7 +126,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.20" | ||
go-version: "1.20.2" | ||
# Standard build tasks | ||
- name: Build | ||
run: make cross-platform | ||
|
@@ -167,6 +167,6 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.20" | ||
go-version: "1.20.2" | ||
- uses: imjasonh/[email protected] | ||
- run: ko build -B ./cmd/func |
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
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
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
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
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
Oops, something went wrong.