Skip to content

Commit

Permalink
use platform yamllint
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
Adrian Cole committed Jan 11, 2024
1 parent 6c5cb13 commit 50d3381
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
# Match build-bin/configure_test
rubygems: '3.4.22'
bundler: '2.4.22'
bundler-cache: true
- name: Test
run: build-bin/configure_test && build-bin/test
run: build-bin/test
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ gem 'jekyll', '~>4.3'

require 'json'
require 'open-uri'
gem "yaml-lint", "~> 0.1.2"
gem "terminal-table", "~> 3.0"
2 changes: 0 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ GEM
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
webrick (1.8.1)
yaml-lint (0.1.2)

PLATFORMS
arm64-darwin-23
Expand All @@ -71,7 +70,6 @@ PLATFORMS
DEPENDENCIES
jekyll (~> 4.3)
terminal-table (~> 3.0)
yaml-lint (~> 0.1.2)

BUNDLED WITH
2.4.22
3 changes: 2 additions & 1 deletion _data/community_tracers_instrumentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
[Echo](https://echo.labstack.com/)
propagation: Http (B3), easy to add others
transports: Http
sampling: "Yes"
sampling: "Yes"

- language: Java
library: >-
Expand Down Expand Up @@ -159,3 +159,4 @@
transports: "http, log file"
sampling: "Yes"
notes: A Zipkin integration for Symfony applications

2 changes: 1 addition & 1 deletion build-bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ set -ue
# This script runs the tests of the project.
#
# See [README.md] for an explanation of this and how CI should use it.
bundle exec yaml-lint -i -q .
yamllint -d relaxed _config.yml docker-compose.yml _data/*.yml
bundle exec jekyll build
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ services:
ports:
- 4000:4000
volumes:
- .:/srv/jekyll
- .:/srv/jekyll

0 comments on commit 50d3381

Please sign in to comment.