Skip to content

Lab3 submission#1028

Open
tdzdslippen wants to merge 8 commits into
inno-devops-labs:mainfrom
tdzdslippen:feature/lab3
Open

Lab3 submission#1028
tdzdslippen wants to merge 8 commits into
inno-devops-labs:mainfrom
tdzdslippen:feature/lab3

Conversation

@tdzdslippen

Copy link
Copy Markdown

Goal

Complete Lab 3 — a PR-gated CI pipeline for QuickNotes on GitHub Actions (vet + test + lint), made fast with caching, a Go-version matrix, and path filters.

Changes

  • .github/workflows/ci.yml — the pipeline:
    • 3 units: vet, test (go test -race -count=1), lint (golangci-lint pinned v2.5.0); each fails the PR independently.
    • Pinned runtime: ubuntu-24.04 everywhere (no :latest).
    • Supply-chain hardening: every third-party action pinned by full 40-char commit SHA (checkout v4.2.2, setup-go v5.6.0, golangci-lint-action v8.0.0), permissions: contents: read (least privilege).
    • Speed (Task 2): setup-go build/module cache keyed on go.mod (no go.sum — std-lib only); strategy.matrix over Go 1.23 + 1.24 with fail-fast: false; paths: filter so docs-only PRs don't run CI.
    • ci-gate aggregate job → a single stable required status check for branch protection.
  • submissions/lab3.md — full write-up: requirements mapping, real run links + timings, the deliberate-failure/fix evidence, branch-protection screenshots (§1.7), and written answers to all 8 design questions (a–h) + bonus bottleneck analysis.
  • submissions/branch-protection-*.png — branch-protection rule on main (required check ci-gate).

Testing

Checklist

  • Title is a clear sentence (≤ 70 chars)
  • Commits are signed (git log --show-signature)
  • submissions/labN.md updated

Signed-off-by: tdzdslippen <avlaptev@avito.ru>
Signed-off-by: tdzdslippen <avlaptev@avito.ru>
Signed-off-by: tdzdslippen <avlaptev@avito.ru>
…o root

Signed-off-by: tdzdslippen <avlaptev@avito.ru>
…tion

Signed-off-by: tdzdslippen <avlaptev@avito.ru>
…b spec

Signed-off-by: tdzdslippen <avlaptev@avito.ru>
Signed-off-by: tdzdslippen <avlaptev@avito.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant