2020-12-04 05:32:12 +00:00
|
|
|
---
|
|
|
|
name: go-test
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- '*'
|
2022-05-01 01:00:30 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-12-04 05:32:12 +00:00
|
|
|
jobs:
|
2024-08-13 06:59:40 +00:00
|
|
|
uncommitted-code-check:
|
|
|
|
name: uncommitted-code-check
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout the repo
|
2024-09-18 09:19:02 +00:00
|
|
|
# yamllint disable-line rule:line-length
|
2024-09-30 21:00:47 +00:00
|
|
|
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
2024-08-13 06:59:40 +00:00
|
|
|
|
|
|
|
- name: Check generated deploy code
|
|
|
|
run: make generate-deploy
|
|
|
|
|
|
|
|
- name: Check for uncommitted changes
|
|
|
|
run: make check-all-committed
|
|
|
|
|
|
|
|
- name: Show the uncommitted "git diff"
|
|
|
|
if: ${{ failure() }}
|
|
|
|
run: git diff ; false
|
2024-06-27 15:16:12 +00:00
|
|
|
e2e-build-test:
|
|
|
|
name: e2e-build-test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-09-18 09:19:02 +00:00
|
|
|
# yamllint disable-line rule:line-length
|
2024-09-30 21:00:47 +00:00
|
|
|
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
2024-06-27 15:16:12 +00:00
|
|
|
- name: e2e-build-test
|
|
|
|
run: make containerized-build TARGET=e2e.test
|
2020-12-04 05:32:12 +00:00
|
|
|
go-test:
|
|
|
|
name: go-test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-09-18 09:19:02 +00:00
|
|
|
# yamllint disable-line rule:line-length
|
2024-09-30 21:00:47 +00:00
|
|
|
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
2020-12-04 05:32:12 +00:00
|
|
|
- name: go-test
|
2023-08-07 11:30:36 +00:00
|
|
|
run: make containerized-test TARGET=go-test
|
2021-10-04 13:58:13 +00:00
|
|
|
go-test-api:
|
|
|
|
name: go-test-api
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-09-18 09:19:02 +00:00
|
|
|
# yamllint disable-line rule:line-length
|
2024-09-30 21:00:47 +00:00
|
|
|
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
2021-10-04 13:58:13 +00:00
|
|
|
- name: go-test-api
|
2023-08-07 11:30:36 +00:00
|
|
|
run: make containerized-test TARGET=go-test-api
|