Skip to content

Commit

Permalink
chore: update golang version and pin dependencies (#297)
Browse files Browse the repository at this point in the history
* test: fix system test failure due to golang1.21

* fix: update eslint rule name

* chore: update gts dependency
  • Loading branch information
psx95 authored Aug 28, 2024
1 parent c7ff346 commit 34d8292
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 68 deletions.
162 changes: 101 additions & 61 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@types/tmp": "0.2.6",
"codecov": "^3.0.0",
"deep-copy": "^1.4.2",
"gts": "^5.0.0",
"gts": "^5.3.1",
"js-green-licenses": "^4.0.0",
"linkinator": "^5.0.0",
"mocha": "^10.0.0",
Expand Down
4 changes: 2 additions & 2 deletions system-test/Dockerfile.linux
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM golang:1.21-bullseye as builder
FROM golang:1.22-bullseye as builder
RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /root/
RUN go install github.com/google/pprof@latest
RUN go install github.com/google/pprof@v0.0.0-20240827171923-fa2c70bbbfe5

FROM debian:11

Expand Down
4 changes: 2 additions & 2 deletions system-test/Dockerfile.node-alpine
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG NODE_VERSION

FROM golang:1.21-alpine as builder
FROM golang:1.22-alpine as builder
RUN apk add --no-cache git
WORKDIR /root/
RUN go install github.com/google/pprof@latest
RUN go install github.com/google/pprof@v0.0.0-20240827171923-fa2c70bbbfe5

FROM node:${NODE_VERSION}-alpine

Expand Down
4 changes: 2 additions & 2 deletions system-test/busybench/src/busybench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

// eslint-disable-next-line node/no-unsupported-features/node-builtins
// eslint-disable-next-line n/no-unsupported-features/node-builtins
import {promises} from 'fs';
// eslint-disable-next-line node/no-extraneous-import
// eslint-disable-next-line n/no-extraneous-import
import {encode, heap, SourceMapper, time} from 'pprof';

const startTime: number = Date.now();
Expand Down

0 comments on commit 34d8292

Please sign in to comment.