Skip to content

Update the version of Node the action runs on from Node 16 to Node 20 #247

Update the version of Node the action runs on from Node 16 to Node 20

Update the version of Node the action runs on from Node 16 to Node 20 #247

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: {} # support manual runs
# Prevent writing to the repository using the CI token.
# Ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions
permissions: read-all
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Generate
run: make generate && make checkgenerate
- name: Build
run: make build && make checkgenerate