Skip to content

Commit

Permalink
Merge pull request docker#2339 from crazy-max/ci-lint-multi
Browse files Browse the repository at this point in the history
ci: enable multi-platform lint only for upstream repo
  • Loading branch information
crazy-max authored Mar 14, 2024
2 parents a8af6fa + 5c69fa2 commit 276dd51
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ on:
jobs:
validate:
runs-on: ubuntu-22.04
env:
GOLANGCI_LINT_MULTIPLATFORM: 1
strategy:
fail-fast: false
matrix:
Expand All @@ -30,6 +28,12 @@ jobs:
- validate-docs
- validate-generated-files
steps:
-
name: Prepare
run: |
if [ "$GITHUB_REPOSITORY" = "docker/buildx" ]; then
echo "GOLANGCI_LINT_MULTIPLATFORM=1" >> $GITHUB_ENV
fi
-
name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 276dd51

Please sign in to comment.