Skip to content

Commit

Permalink
Change formatting of yaml files
Browse files Browse the repository at this point in the history
yaml files reformated by `ansible-lint --fix`
  • Loading branch information
xorcare committed Oct 11, 2024
1 parent e79cacb commit 4812c54
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 44 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 4 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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
82 changes: 41 additions & 41 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4812c54

Please sign in to comment.