Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

🌱 Update Builder Image group #942

🌱 Update Builder Image group

🌱 Update Builder Image group #942

Workflow file for this run

name: "Lint Pull Request"
on: # yamllint disable-line rule:truthy
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
- "releases/**"
paths:
- "!**/vendor/**"
- "**.go"
- "**go.mod"
- "**go.sum"
- ".github/actions/**/*"
- ".github/workflows/pr-*"
- "!**/vendor/**"
# yamllint disable rule:line-length
jobs:
pr-lint:
name: "Lint Pull Request"
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
runs-on: ubuntu-latest
container:
image: ghcr.io/sovereigncloudstack/cso-builder:1.1.35
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
steps:
- name: Checkout repository
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/setup-go
- name: Fixup git permissions
# https://github.com/actions/checkout/issues/766
shell: bash
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Verify Golang Modules
run: make BUILD_IN_CONTAINER=false generate-modules-ci
- name: Verify Release
run: make BUILD_IN_CONTAINER=false test-release
- name: Link Checker
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: make BUILD_IN_CONTAINER=false lint-links
- name: Lint YAML
run: make BUILD_IN_CONTAINER=false lint-yaml-ci
- name: Lint Dockerfile
run: make BUILD_IN_CONTAINER=false lint-dockerfile
- name: Lint Golang Code
run: make BUILD_IN_CONTAINER=false lint-golang-ci
Morty Proxy This is a proxified and sanitized view of the page, visit original site.