Skip to content

Commit

Permalink
Fix build and re-try release (#574)
Browse files Browse the repository at this point in the history
* Wait a bit before uploading artifacts

Signed-off-by: Chad Wilson <[email protected]>

* Run tests on Node 16

- Supported by Java 17, Go 20 for functional/LSP tests

Signed-off-by: Chad Wilson <[email protected]>

* Bump dependency versions

- Cleans up transitive dependency security noise
- Implicitly increases Node dependency to 12+ due to protobufjs upgrade

Signed-off-by: Chad Wilson <[email protected]>

---------

Signed-off-by: Chad Wilson <[email protected]>
  • Loading branch information
chadlwilson authored Jul 8, 2023
1 parent ab91887 commit ab20b44
Show file tree
Hide file tree
Showing 7 changed files with 1,538 additions and 1,145 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
35 changes: 17 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Nodejs
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: 16

- name: Setup submodule
run: |
Expand All @@ -41,23 +41,23 @@ jobs:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Go 1.13
uses: actions/setup-go@v1
- name: Setup go 1.20.x
uses: actions/setup-go@v4
with:
go-version: 1.13
id: go
go-version: ^1.20

- name: Set up Nodejs
uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: 16

- name: Setup java 12.x.x
uses: actions/setup-java@v1
- name: Setup java
uses: actions/setup-java@v3
with:
java-version: 12.x.x
distribution: temurin
java-version: '17'

- uses: getgauge/setup-gauge@master
with:
Expand Down Expand Up @@ -94,18 +94,17 @@ jobs:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: 16

- name: Set up Go 1.13
uses: actions/setup-go@v1
- name: Setup go 1.20.x
uses: actions/setup-go@v4
with:
go-version: 1.13
id: go
go-version: ^1.20

- uses: getgauge/setup-gauge@master
with:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
CI: true

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Nodejs
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: 16

- name: Setup git
run: |
Expand Down Expand Up @@ -49,6 +49,9 @@ jobs:
echo "Creating new draft for release v$version"
hub release create -F ./desc.txt "v$version"
rm -rf desc.txt
sleep 10
echo "Start uploading assets..."
for i in $(ls $artifacts); do
echo $i
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The plugin is authored in [Javascript](https://en.wikipedia.org/wiki/JavaScript)
Gauge is authored in golang. These are independent processes talking to each other over TCP on port GAUGE_INTERNAL_PORT (env variable) using [Protobuf](https://github.com/getgauge/gauge-proto).

##### Pre-Requisites
* [Node.js](https://nodejs.org/en/) - Version > 8
* [Node.js](https://nodejs.org/en/) - Version >= 12
* [Npm](https://www.npmjs.com/get-npm)

##### Compiling
Expand Down
2 changes: 1 addition & 1 deletion js.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"--init"
]
},
"version": "2.4.2",
"version": "3.0.0",
"gaugeVersionSupport": {
"minimum": "1.0.7",
"maximum": ""
Expand Down
Loading

0 comments on commit ab20b44

Please sign in to comment.