prepare all syntax for linters and spellchecks
This commit is contained in:
parent
b932d218e3
commit
734c132500
13 changed files with 84 additions and 91 deletions
8
.github/workflows/container.yaml
vendored
8
.github/workflows/container.yaml
vendored
|
|
@ -1,12 +1,12 @@
|
|||
name: Build & Deploy Container
|
||||
|
||||
on:
|
||||
on: # yamllint disable-line rule:truthy
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
merge_group:
|
||||
types: [ "checks_requested" ]
|
||||
types: ["checks_requested"]
|
||||
|
||||
jobs:
|
||||
build-base:
|
||||
|
|
|
|||
2
.github/workflows/create-tag.yml
vendored
2
.github/workflows/create-tag.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
# This action creates a release every second Wednesday
|
||||
name: "Create and push release tag"
|
||||
|
||||
on:
|
||||
on: # yamllint disable-line rule:truthy
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 8 * * 3"
|
||||
|
|
|
|||
30
.github/workflows/go.yaml
vendored
30
.github/workflows/go.yaml
vendored
|
|
@ -3,29 +3,29 @@
|
|||
|
||||
name: Go
|
||||
|
||||
on:
|
||||
on: # yamllint disable-line rule:truthy
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
merge_group:
|
||||
types: [ "checks_requested" ]
|
||||
types: ["checks_requested"]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
uses: ./.github/workflows/testdeps.yaml
|
||||
uses: ./.github/workflows/testdeps.yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 'stable'
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 'stable'
|
||||
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
|
|
|
|||
2
.github/workflows/pr_best_practices.yml
vendored
2
.github/workflows/pr_best_practices.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
name: "Verify PR best practices"
|
||||
|
||||
on:
|
||||
on: # yamllint disable-line rule:truthy
|
||||
pull_request_target:
|
||||
branches: [main]
|
||||
types: [opened, synchronize, reopened, edited]
|
||||
|
|
|
|||
29
.github/workflows/pytest.yaml
vendored
29
.github/workflows/pytest.yaml
vendored
|
|
@ -1,26 +1,25 @@
|
|||
name: Integration tests
|
||||
|
||||
on:
|
||||
on: # yamllint disable-line rule:truthy
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
merge_group:
|
||||
types: [ "checks_requested" ]
|
||||
types: ["checks_requested"]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
uses: ./.github/workflows/testdeps.yaml
|
||||
uses: ./.github/workflows/testdeps.yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install integration test env
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y pytest golang
|
||||
|
||||
- name: Install integration test env
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y pytest golang
|
||||
|
||||
- name: Run integration tests via pytest
|
||||
run: |
|
||||
# use "-s" for now for easier debugging
|
||||
sudo pytest -s -v
|
||||
- name: Run integration tests via pytest
|
||||
run: |
|
||||
# use "-s" for now for easier debugging
|
||||
sudo pytest -s -v
|
||||
|
|
|
|||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
name: "Create GitHub release"
|
||||
|
||||
on:
|
||||
on: # yamllint disable-line rule:truthy
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
|
|
|||
2
.github/workflows/testdeps.yaml
vendored
2
.github/workflows/testdeps.yaml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
name: Install common test dependencies
|
||||
|
||||
on:
|
||||
on: # yamllint disable-line rule:truthy
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue