Skip to content

Commit abf079c

Browse files
authored
Upgrade dependencies and node v20 (#185)
Upgrade dependencies to latest and node runtime to v20. Following dependencies were upgraded with major version changes: - typescript and eslint: not an issue because the build and lint steps still pass - prettier: new formatting does not affect code - @actions/github: the only breaking change appears to be dropped support for Node 16 All code changes are related to formatting and LICENSE years. Fixes: - #183 - #173 - #172 - #159 - #149 - #144 - #141 - #140 - #137
1 parent 71c62af commit abf079c

File tree

14 files changed

+1470
-1098
lines changed

14 files changed

+1470
-1098
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020-2022 Buf Technologies, Inc.
1+
// Copyright 2020-2024 Buf Technologies, Inc.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout Code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 1
1919
- name: Install Go
20-
uses: actions/setup-go@v3
20+
uses: actions/setup-go@v4
2121
with:
22-
go-version: 1.18
22+
go-version: 1.22
2323
- name: Install Node
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
26-
node-version: 16
26+
node-version: 20
2727
- name: Generate
2828
run: make generate && make checkgenerate
2929
- name: Build

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.14.0
1+
20.11.1

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2020-2021 Buf Technologies, Inc.
189+
Copyright 2020-2024 Buf Technologies, Inc.
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ MAKEFLAGS += --warn-undefined-variables
77
MAKEFLAGS += --no-builtin-rules
88
MAKEFLAGS += --no-print-directory
99
BIN := .tmp/bin
10-
COPYRIGHT_YEARS := 2020-2022
10+
COPYRIGHT_YEARS := 2020-2024
1111
LICENSE_IGNORE := -e dist\/
1212

1313
UNAME_OS := $(shell uname -s)

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ inputs:
2323
required: false
2424
default: 'buf.build'
2525
runs:
26-
using: "node16"
26+
using: "node20"
2727
main: "./dist/main.js"

dist/main.js

Lines changed: 76 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.js.map

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)