diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6efe2e9c..e3f03826 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml index 236ddda3..1ac8fae8 100644 --- a/.github/workflows/dependabot-automerge.yml +++ b/.github/workflows/dependabot-automerge.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check if PR should be auto-merged uses: ahmadnassri/action-dependabot-auto-merge@v2 diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 893c289f..0fde92dd 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -26,15 +26,15 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [18.x, 20.x] + node-version: [18.x, 20.x, 22.x] os: [ubuntu-latest] steps: - name: Checkout code - 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' @@ -78,14 +78,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout code - 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' @@ -96,12 +96,12 @@ jobs: run: | VERSION="${{ github.ref }}" VERSION=${VERSION##*/v} - echo "::set-output name=VERSION::$VERSION" + echo "VERSION=$VERSION" >> $GITHUB_OUTPUT + EOF=$(od -An -N6 -x /dev/urandom | tr -d ' ') BODY=$(git show -s --format=%b) - BODY="${BODY//'%'/'%25'}" - BODY="${BODY//$'\n'/'%0A'}" - BODY="${BODY//$'\r'/'%0D'}" - echo "::set-output name=BODY::$BODY" + echo "BODY<<$EOF" >> $GITHUB_OUTPUT + echo "$BODY" >> $GITHUB_OUTPUT + echo "$EOF" >> $GITHUB_OUTPUT - name: Install dependencies run: npm ci @@ -117,12 +117,12 @@ jobs: npm publish - name: Create Github Release - uses: actions/create-release@v1 + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} - release_name: Release v${{ steps.extract_release.outputs.VERSION }} + name: Release v${{ steps.extract_release.outputs.VERSION }} draft: false # Prerelease versions create prereleases on Github prerelease: ${{ contains(steps.extract_release.outputs.VERSION, '-') }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 800e1add..ec166e19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ ## __WORK IN PROGRESS__ (at the beginning of a new line) --> +## __WORK IN PROGRESS__ +* (AlCalzone) Update CI workflows for the adapter creator (#1111) + ## 2.6.4 (2024-09-13) * (AlCalzone) Pin several dependencies to older versions (#1110)