diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 13771a2..02b9807 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -20,6 +20,10 @@ on: schedule: - cron: '20 13 * * 6' +env: + GO_VERSION: '1.23.0' + NODE_VERSION: '20.17.0' + jobs: analyze: name: Analyze @@ -51,7 +55,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v4 with: - node-version: '18.17.0' + node-version: ${{ env.NODE_VERSION }} - name: Set up corepack run: corepack enable @@ -70,7 +74,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22.0' + go-version: ${{ env.GO_VERSION }} cache: true # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 5b59c25..4fb0022 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -9,6 +9,9 @@ on: schedule: - cron: '20 13 * * 6' +env: + NODE_VERSION: '20.17.0' + jobs: codeql: runs-on: ubuntu-latest @@ -27,7 +30,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v4 with: - node-version: '18.17.0' + node-version: ${{ env.NODE_VERSION }} - name: Set up corepack run: corepack enable diff --git a/.github/workflows/golang-linter.yml b/.github/workflows/golang-linter.yml index 937d51f..fee5272 100644 --- a/.github/workflows/golang-linter.yml +++ b/.github/workflows/golang-linter.yml @@ -8,6 +8,10 @@ on: - 'v*' pull_request: +env: + GO_VERSION: '1.23.0' + NODE_VERSION: '20.17.0' + jobs: nilaway: name: Nilaway Linter @@ -21,7 +25,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22.0' + go-version: ${{ env.GO_VERSION }} cache: true - name: Install Nilaway