Skip to content

Commit

Permalink
Upgrade dependencies and node v20 (#185)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
emcfarlane committed Feb 20, 2024
1 parent 71c62af commit abf079c
Show file tree
Hide file tree
Showing 14 changed files with 1,470 additions and 1,098 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2022 Buf Technologies, Inc.
// Copyright 2020-2024 Buf Technologies, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: 1.22
- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: Generate
run: make generate && make checkgenerate
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.14.0
20.11.1
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2020-2021 Buf Technologies, Inc.
Copyright 2020-2024 Buf Technologies, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules
MAKEFLAGS += --no-print-directory
BIN := .tmp/bin
COPYRIGHT_YEARS := 2020-2022
COPYRIGHT_YEARS := 2020-2024
LICENSE_IGNORE := -e dist\/

UNAME_OS := $(shell uname -s)
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ inputs:
required: false
default: 'buf.build'
runs:
using: "node16"
using: "node20"
main: "./dist/main.js"
102 changes: 76 additions & 26 deletions dist/main.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/main.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit abf079c

Please sign in to comment.