From 4812c54cfdbc70f3483a2406b82f9cbb5351c096 Mon Sep 17 00:00:00 2001 From: Vasiliy Vasilyuk Date: Fri, 11 Oct 2024 23:21:38 +0300 Subject: [PATCH] Change formatting of yaml files yaml files reformated by `ansible-lint --fix` --- .editorconfig | 10 +++++ .github/dependabot.yml | 7 ++-- .github/workflows/go.yml | 82 ++++++++++++++++++++-------------------- 3 files changed, 55 insertions(+), 44 deletions(-) diff --git a/.editorconfig b/.editorconfig index 55d53c8..f67cdd5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,6 +11,16 @@ indent_style = tab [{*.yaml, *.yml}] indent_size = 2 +ij_yaml_align_values_properties = do_not_align +ij_yaml_autoinsert_sequence_marker = true +ij_yaml_block_mapping_on_new_line = false +ij_yaml_indent_sequence_value = true +ij_yaml_keep_indents_on_empty_lines = false +ij_yaml_keep_line_breaks = true +ij_yaml_sequence_on_new_line = false +ij_yaml_space_before_colon = false +ij_yaml_spaces_within_braces = false +ij_yaml_spaces_within_brackets = false [Makefile] indent_style = tab diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 44ca17c..60b74b6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,8 +1,9 @@ +--- # See https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file version: 2 updates: - - package-ecosystem: "github-actions" - directory: "/" + - package-ecosystem: github-actions + directory: / schedule: - interval: "monthly" + interval: monthly diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 00d98e2..2586cdd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,56 +1,56 @@ +--- name: Go on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] - workflow_dispatch: { } - + branches: [main] + workflow_dispatch: {} jobs: basic: - name: 'Basic health checks' - runs-on: "${{ matrix.os }}" + name: Basic health checks + runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-latest ] + os: [ubuntu-latest] go: - - '1.11' - - '1.12' - - '1.13' - - '1.14' - - '1.15' - - '1.16' - - '1.17' - - '1.18' - - '1.19' - - '1.20' - - '1.21' - - '1.22' + - "1.11" + - "1.12" + - "1.13" + - "1.14" + - "1.15" + - "1.16" + - "1.17" + - "1.18" + - "1.19" + - "1.20" + - "1.21" + - "1.22" steps: - - uses: actions/checkout@v4 - - name: "Set up Go:${{ matrix.go }}" - uses: actions/setup-go@v5 - with: - go-version: '${{ matrix.go }}' - - name: Make build - run: make build - - name: Make test - run: make test + - uses: actions/checkout@v4 + - name: Set up Go:${{ matrix.go }} + uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go }} + - name: Make build + run: make build + - name: Make test + run: make test advanced: - name: 'Full check code quality' + name: Full check code quality runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: "Set up Go" - uses: actions/setup-go@v5 - with: - go-version: '1.21' - - name: Make check - run: make check - - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: coverage.out - verbose: true + - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.21" + - name: Make check + run: make check + - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: coverage.out + verbose: true