diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 646d9b7..aab5baa 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -7,10 +7,10 @@ jobs: build-ubuntu: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - run: sudo apt-get update - run: sudo apt install -y build-essential cmake libsdl2-dev - run: npm ci @@ -20,10 +20,10 @@ jobs: build-brew: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - run: sudo apt-get update - run: sudo apt install -y build-essential cmake git - run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" @@ -33,12 +33,12 @@ jobs: run: npm ci build-mac: - runs-on: macos-11 + runs-on: macos-14 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Install SDL2 with brew run: brew install sdl2 - name: Compile @@ -47,10 +47,10 @@ jobs: check-cpplint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.12.4' - run: sudo apt-get update - run: sudo apt install -y cppcheck - name: Install cpplint @@ -63,7 +63,7 @@ jobs: check-format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: check format run: clang-format -n src/* |& tee errors - run: test ! -s errors diff --git a/.nvmrc b/.nvmrc index a00f43e..9a2a0e2 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v8 +v20