author | Alberto Bertogli
<albertito@blitiri.com.ar> 2023-08-23 21:21:35 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2023-08-23 21:26:08 UTC |
parent | b3bd2528708d6d47b18f56f4b1b60a6df660cea3 |
.github/workflows/govulncheck.yaml | +21 | -0 |
.github/workflows/tests.yaml | +23 | -0 |
.gitignore | +3 | -0 |
diff --git a/.github/workflows/govulncheck.yaml b/.github/workflows/govulncheck.yaml new file mode 100644 index 0000000..4e3aeea --- /dev/null +++ b/.github/workflows/govulncheck.yaml @@ -0,0 +1,21 @@ +name: "govulncheck" + +on: + push: + branches: [ "master", "next" ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ "master", "next" ] + schedule: + - cron: '29 21 * * 6' + +jobs: + govulncheck: + runs-on: ubuntu-latest + timeout-minutes: 5 + name: Run govulncheck + steps: + - id: govulncheck + uses: golang/govulncheck-action@v1 + with: + check-latest: true diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..c1d0f6a --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,23 @@ +name: "tests" + +on: + push: + branches: [ "main", "next" ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ "main", "next" ] + schedule: + - cron: '26 21 * * 6' + +jobs: + tests: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 + with: + go-version: ">=1.20" + + - name: test + run: make test diff --git a/.gitignore b/.gitignore index b68d062..9ef4a93 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,6 @@ out/ # Just in case, we ignore all .pem so noone commits them by accident. *.pem + +!.gitignore +!.github