Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Refresh GHAWs: expand linting, switch to GHCR #173

Merged
merged 1 commit into from
Feb 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .github/workflows/lint-and-build-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,21 @@ jobs:
name: Lint codebase
runs-on: ubuntu-latest
timeout-minutes: 10
# Don't flag the whole workflow as failed if "experimental" matrix jobs
# fail. This allows the unstable image linting tasks to fail without
# marking the oldstable and stable image linting jobs as failed.
continue-on-error: ${{ matrix.experimental }}
strategy:
# Don't stop all workflow jobs if the unstable image linting tasks fail.
fail-fast: false
matrix:
container-image: ["go-ci-oldstable", "go-ci-stable"]
experimental: [false]
include:
- container-image: "go-ci-unstable"
experimental: true
container:
image: index.docker.io/atc0005/go-ci:go-ci-lint-only
image: "ghcr.io/atc0005/go-ci:${{ matrix.container-image}}"

steps:
- name: Check out code
Expand Down Expand Up @@ -52,7 +65,7 @@ jobs:
container-image: ["go-ci-oldstable", "go-ci-stable", "go-ci-unstable"]

container:
image: "index.docker.io/atc0005/go-ci:${{ matrix.container-image}}"
image: "ghcr.io/atc0005/go-ci:${{ matrix.container-image}}"

steps:
- name: Check out code
Expand All @@ -71,7 +84,7 @@ jobs:
container-image: ["go-ci-oldstable", "go-ci-stable", "go-ci-unstable"]

container:
image: "index.docker.io/atc0005/go-ci:${{ matrix.container-image}}"
image: "ghcr.io/atc0005/go-ci:${{ matrix.container-image}}"

steps:
- name: Print go version
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/lint-and-build-using-make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
# Default: 360 minutes
timeout-minutes: 10
container:
image: "index.docker.io/golang:latest"
# Use (lightly touched) mirror of current "vanilla" upstream golang image
image: "ghcr.io/atc0005/go-ci:go-ci-stable-mirror-build"

steps:
- name: Print go version
Expand Down Expand Up @@ -58,7 +59,8 @@ jobs:
# Default: 360 minutes
timeout-minutes: 10
container:
image: "index.docker.io/golang:latest"
# Use (lightly touched) mirror of current "vanilla" upstream golang image
image: "ghcr.io/atc0005/go-ci:go-ci-stable-mirror-build"

steps:
- name: Print go version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-test-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
container:
image: index.docker.io/atc0005/go-ci:go-ci-lint-only
image: ghcr.io/atc0005/go-ci:go-ci-lint-only

steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-docker-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
container:
image: index.docker.io/hadolint/hadolint:latest-debian
image: ghcr.io/hadolint/hadolint:latest-debian

steps:
- name: Check out code
Expand Down