Skip to content

build(deps): bump idna from 3.11 to 3.15 #170

build(deps): bump idna from 3.11 to 3.15

build(deps): bump idna from 3.11 to 3.15 #170

Workflow file for this run

name: CI
# Workflow for building and testing the Dagster data pipeline
# Runs on pushes to main and all pull requests
on:
push:
branches: [ main ]
paths-ignore:
- 'docs/**'
- '.dagster/**'
- '.dev/**'
- '.devcontainer/**'
- '.vscode/**'
- '.github/**'
- '!.github/workflows/ci.yml'
- '*.md'
- 'LICENSE'
- 'flake.nix'
- 'flake.lock'
- '.gitignore'
pull_request:
paths-ignore:
- 'docs/**'
- '.dagster/**'
- '.dev/**'
- '.devcontainer/**'
- '.vscode/**'
- '.github/**'
- '!.github/workflows/ci.yml'
- '*.md'
- 'LICENSE'
- 'flake.nix'
- 'flake.lock'
- '.gitignore'
permissions:
contents: read
# Environment variables used across jobs
env:
IMAGE_NAME: ghcr.io/${{ github.repository }}
TAG_LATEST: latest
TAG_SHA: ${{ github.sha }}
jobs:
# Job to set up shell environment and run tests
setup-shell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-nix-env
- name: Lint
run: just lint
- name: Type check
run: just type
- name: Test
run: just test
# Job to build and publish Docker image
publish:
# Only run after a successful build and only on main branch pushes
permissions:
contents: read
packages: write
needs: setup-shell
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
# Checkout repository with the latest version
- name: Checkout
uses: actions/checkout@v4
# Log in to GitHub Container Registry (only when publishing)
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# Build and push Docker image
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ env.IMAGE_NAME }}:${{ env.TAG_LATEST }}
${{ env.IMAGE_NAME }}:${{ env.TAG_SHA }}