feat!: Release v1.0.0 #226
Workflow file for this run
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: code | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
go: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: setup | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
- name: tests | |
run: go test -timeout 30s -v ./... | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.49 | |
python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- run: | | |
pip3 install black | |
find -name *.py | xargs black --check | |
jsonnet: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: setup | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
- name: compile | |
run: | | |
go install github.com/google/go-jsonnet/cmd/jsonnet@latest | |
sh build/scripts/config/compile.sh |