From 2b50dbff1ef54fb3564a524b2801d37c04e9d71e Mon Sep 17 00:00:00 2001 From: Ola Okelola Date: Sat, 10 Aug 2024 12:57:33 -0700 Subject: [PATCH] bump ci things --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/docs_build.yml | 8 ++++---- .github/workflows/e2e.yml | 12 ++++++------ .github/workflows/go_ci.yml | 12 ++++++------ .github/workflows/new_docker_image.yml | 6 +++--- .github/workflows/node.js.yml | 8 ++++---- .github/workflows/python_ci.yml | 6 +++--- .github/workflows/update-docs.yml | 2 +- release_image/main.go | 6 +++--- 9 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 99984f542..98b64c3e1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/docs_build.yml b/.github/workflows/docs_build.yml index 2d91c9424..45968d39b 100644 --- a/.github/workflows/docs_build.yml +++ b/.github/workflows/docs_build.yml @@ -15,12 +15,12 @@ jobs: 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: '18.x' + node-version: '22.x' - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index f05e59fd9..0b00e3a9a 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -30,16 +30,16 @@ jobs: - 5432:5432 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip- restore-keys: | ${{ runner.os }}-pip- - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('ts/package-lock.json') }} @@ -47,7 +47,7 @@ jobs: ${{ runner.os }}-node- - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '1.22' check-latest: true @@ -65,9 +65,9 @@ jobs: pipenv install --dev - name: Setup nodejs - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.x - run: npm install -g ts-node@11.0.0-beta.1 prettier@3.1.0 typescript@5.3.2 @swc/core@1.3.100 @swc/cli@0.1.63 jest @biomejs/biome@1.4.1 - run: | cd ts diff --git a/.github/workflows/go_ci.yml b/.github/workflows/go_ci.yml index 7328856e8..fabe78a8a 100644 --- a/.github/workflows/go_ci.yml +++ b/.github/workflows/go_ci.yml @@ -35,16 +35,16 @@ jobs: - 5432:5432 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip- restore-keys: | ${{ runner.os }}-pip- - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('ts/package-lock.json') }} @@ -52,7 +52,7 @@ jobs: ${{ runner.os }}-node- - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '1.22' check-latest: true @@ -67,9 +67,9 @@ jobs: run: python3 -m pip install wheel auto_schema==0.0.12 - name: Setup nodejs - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.x - run: npm install -g ts-node@11.0.0-beta.1 prettier@3.1.0 typescript@5.3.2 @swc/core@1.3.100 @swc/cli@0.1.63 - run: | cd ts diff --git a/.github/workflows/new_docker_image.yml b/.github/workflows/new_docker_image.yml index 5ae0ac0e1..9f70c5a5e 100644 --- a/.github/workflows/new_docker_image.yml +++ b/.github/workflows/new_docker_image.yml @@ -13,9 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} @@ -23,7 +23,7 @@ jobs: ${{ runner.os }}-go- - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '1.22' diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 4b22993a3..9fe07a2b0 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -44,19 +44,19 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x, 22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' cache-dependency-path: ts/package-lock.json - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} diff --git a/.github/workflows/python_ci.yml b/.github/workflows/python_ci.yml index f287149ad..4ff54bf25 100644 --- a/.github/workflows/python_ci.yml +++ b/.github/workflows/python_ci.yml @@ -43,21 +43,21 @@ jobs: sqlite: image: nouchka/sqlite3 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: python-version: '3.11' - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip- restore-keys: | ${{ runner.os }}-pip- - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.local/share/virtualenvs key: ${{ runner.os }}-pipenv-${{ hashFiles('Pipfile.lock') }} diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index 4d62ea37b..a29c641c1 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -10,7 +10,7 @@ jobs: merge-branch: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Merge to docs uses: devmasx/merge-branch@v1.4.0 diff --git a/release_image/main.go b/release_image/main.go index 97c08661b..b7b38b6cf 100644 --- a/release_image/main.go +++ b/release_image/main.go @@ -18,18 +18,18 @@ import ( ) // next tag to use -const TAG = "v0.2.0-alpha.6" +const TAG = "v0.2.0-alpha.7" // current node gets latest tag... -const CURRENT_NODE_VERSION = 18 +const CURRENT_NODE_VERSION = 22 const REPO = "ghcr.io/lolopinto/ent" const UPDATE_LATEST = true var NODE_VERSIONS = []int{ - // 16, 18, 20, + 22, } const AUTO_SCHEMA_VERSION = "0.0.32"