diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 64943742e..035add8ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: sha: ${{ env.HQ_SHA }} steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set version run: | echo "HQ_VERSION=${{ inputs.version || 'dev' }}" | tee -a $GITHUB_ENV @@ -33,19 +33,13 @@ jobs: build-binaries-x64: needs: [ set-env ] runs-on: ubuntu-latest - env: - # We need to avoid using NodeJS v20, because it doesn't work with glibc 2.17. - # See https://github.com/actions/checkout/issues/1809. - ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 - ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true - # Use a container with GLIBC 2.17 - container: quay.io/pypa/manylinux2014_x86_64 + # Use a container with GLIBC 2.28 + container: quay.io/pypa/manylinux_2_28_x86_64 steps: - name: Show GLIBC run: ldd --version - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ needs.set-env.outputs.sha }} - name: Install stable toolchain @@ -96,7 +90,7 @@ jobs: name: arm64-linux steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ needs.set-env.outputs.sha }} - name: Install stable toolchain @@ -136,7 +130,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2.7.0 with: key: pyhq @@ -148,7 +142,7 @@ jobs: with: docker-options: -e HQ_BUILD_VERSION=${{ needs.set-env.outputs.version }} maturin-version: 1.3.0 - manylinux: 2014 + manylinux: 2_28 command: build args: --manifest-path crates/pyhq/Cargo.toml --profile dist --out wheels - name: Install Python wheel diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 7742c2529..3177c60ce 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -11,7 +11,7 @@ jobs: version: ${{ env.HQ_VERSION }} steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set HQ nightly version run: | echo "HQ_VERSION=nightly-$(date +'%Y-%m-%d')-${{ github.sha }}" >> $GITHUB_ENV @@ -28,7 +28,7 @@ jobs: needs: [ set-env, build-artifacts ] steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create tag uses: rickstaa/action-create-tag@v1 with: @@ -40,7 +40,7 @@ jobs: needs: [ create-tag ] steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Generate changelog run: python3 scripts/extract_changelog.py DEV > generated-changelog.md diff --git a/.github/workflows/publish_container.yml b/.github/workflows/publish_container.yml index 4ec4659d8..25c9d59f6 100644 --- a/.github/workflows/publish_container.yml +++ b/.github/workflows/publish_container.yml @@ -44,12 +44,12 @@ jobs: echo "Tag: ${{ env.TAG }}" build: runs-on: ubuntu-latest - needs: [set-env] + needs: [ set-env ] env: container: ghcr.io/it4innovations/hyperqueue steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ needs.set-env.outputs.sha }}