Skip to content

Commit

Permalink
Add linting using unstable & oldstable containers
Browse files Browse the repository at this point in the history
Use the same matrix of containers for linting in the
`Validate Codebase` GHAW that we're already using
for testing and building jobs.

This applies the minimum linting requirements in addition
to testing "unstable" linting options that may become the
new baseline in the future.

refs GH-206
  • Loading branch information
atc0005 committed Feb 1, 2022
1 parent 8aafbfd commit b88ead9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/lint-and-build-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ jobs:
name: Lint codebase
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
container-image: ["go-ci-oldstable", "go-ci-stable", "go-ci-unstable"]

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

steps:
- name: Check out code
Expand Down

0 comments on commit b88ead9

Please sign in to comment.