chore(release-3.1.x): release 3.1.3 #5125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: lint-jsonnet | |
on: [pull_request] | |
# pull_request: | |
# paths: "production/**" | |
jobs: | |
check-mixin: | |
name: Check mixin jsonnet files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.2' | |
- name: setup jsonnet | |
run: | | |
go install github.com/google/go-jsonnet/cmd/[email protected] | |
go install github.com/google/go-jsonnet/cmd/[email protected] | |
go install github.com/google/go-jsonnet/cmd/[email protected] | |
go install github.com/monitoring-mixins/mixtool/cmd/mixtool@16dc166166d91e93475b86b9355a4faed2400c18 | |
go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/[email protected] | |
- name: run linting | |
run: make BUILD_IN_CONTAINER=false lint-jsonnet | |
- name: check compiled mixin has been updated | |
run: | | |
make BUILD_IN_CONTAINER=false loki-mixin-check | |