diff --git a/.github/workflows/build_docker_image.yaml b/.github/workflows/build_docker_image.yaml index fa5489081..e5d4d49b7 100644 --- a/.github/workflows/build_docker_image.yaml +++ b/.github/workflows/build_docker_image.yaml @@ -9,6 +9,9 @@ permissions: id-token: write # This is required for requesting the JWT contents: read # This is required for actions/checkout +env: + FORCE_COLOR: "1" # Make tools pretty. + jobs: build_and_push_docker_image: name: "Build Docker Images 🛠" @@ -23,7 +26,7 @@ jobs: uses: actions/checkout@v4 - name: "Retrieve secret from Vault 🗝" - uses: hashicorp/vault-action@v2 + uses: hashicorp/vault-action@v3 with: method: jwt url: "https://quansight-vault-public-vault-b2379fa7.d415e30e.z1.hashicorp.cloud:8200" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e9b8f2545..7fa1384bd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -39,9 +39,10 @@ jobs: - run: echo "Running on ${{ matrix.directory }}" - name: "Check package build - ${{ matrix.directory }} 📦" - uses: hynek/build-and-inspect-python-package@v1 + uses: hynek/build-and-inspect-python-package@main with: path: ${{ matrix.directory }} + upload-name-suffix: "-${{ matrix.directory }}" # Adding a separate upload for publishing - name: "Upload build artefacts 📤" diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c078552b3..05a2bd785 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -2,6 +2,7 @@ name: Tests env: DEFAULT_PYTHON_VERSION: "3.10" + FORCE_COLOR: "1" # Make tools pretty. on: pull_request: @@ -9,6 +10,7 @@ on: branches: - main + # ensuring only one instance is running at a given time concurrency: group: ${{ github.ref }} @@ -43,7 +45,7 @@ jobs: miniforge-version: latest # This fixes a "DLL not found" issue importing ctypes from the hatch env - - name: Reinstall Python 3.10 on Windows runner + - name: "Reinstall Python 3.10 on Windows runner" uses: nick-fields/retry@v2.8.3 with: timeout_minutes: 9999 @@ -89,7 +91,7 @@ jobs: uses: actions/checkout@v4 - name: "Set up env 🐍" - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: environment-file: conda-store-server/environment-dev.yaml miniforge-version: latest @@ -114,7 +116,7 @@ jobs: pytest --video on ../tests/test_playwright.py - name: "Upload test results 📤" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: playwright-tests @@ -142,13 +144,13 @@ jobs: working-directory: conda-store strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - name: "Checkout Repository 🛎" uses: actions/checkout@v4 - name: "Set up Python 🐍" - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -209,20 +211,20 @@ jobs: - conda-store - conda-store-server steps: - - name: "Checkout Repository" + - name: "Checkout Repository 🛎" uses: actions/checkout@v4 - - name: Set up Docker Buildx + - name: "Set up Docker Buildx" uses: docker/setup-buildx-action@v3 - - name: Lint Dockerfiles + - name: "Lint Dockerfiles 🔍" uses: jbergstroem/hadolint-gh-action@v1 with: dockerfile: ${{ matrix.docker-image }}/Dockerfile output_format: tty error_level: 0 - - name: Docker Meta + - name: "Docker Meta" id: meta uses: docker/metadata-action@v5 with: @@ -231,7 +233,7 @@ jobs: tags: | type=sha - - name: Build docker + - name: "Build Docker images" uses: docker/build-push-action@v5 with: context: "${{ matrix.docker-image }}"