Skip to content

Fix: GCE용 서비스 계정 및 Artifact Registry 읽기 권한 추가, Docker 인증 명령어에 sudo 추가 #11

Fix: GCE용 서비스 계정 및 Artifact Registry 읽기 권한 추가, Docker 인증 명령어에 sudo 추가

Fix: GCE용 서비스 계정 및 Artifact Registry 읽기 권한 추가, Docker 인증 명령어에 sudo 추가 #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
jobs:
lint:
name: Python Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff linter
run: ruff check collector processor shared --line-length=120
terraform-validate:
name: Terraform Validate
runs-on: ubuntu-latest
defaults:
run:
working-directory: terraform
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.5.0"
- name: Terraform Format Check
run: terraform fmt -check -recursive
- name: Terraform Init
run: terraform init -backend=false
- name: Terraform Validate
run: terraform validate