mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
Bumps the github-actions group with 1 update: [sourcemeta/jsonschema](https://github.com/sourcemeta/jsonschema). Updates `sourcemeta/jsonschema` from 9.3.1 to 9.3.4 - [Release notes](https://github.com/sourcemeta/jsonschema/releases) - [Commits](https://github.com/sourcemeta/jsonschema/compare/v9.3.1...v9.3.4) --- updated-dependencies: - dependency-name: sourcemeta/jsonschema dependency-version: 9.3.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
48 lines
900 B
YAML
48 lines
900 B
YAML
name: Test Branch
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
name: test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: go.mod
|
|
|
|
- uses: sourcemeta/jsonschema@v9.3.5
|
|
|
|
#- uses: gotesttools/gotestfmt-action@v2
|
|
# with:
|
|
# token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- uses: golangci/golangci-lint-action@v8
|
|
with:
|
|
version: latest
|
|
|
|
- name: Run test
|
|
run: make test
|
|
|
|
- name: Generate schema
|
|
run: |
|
|
make schema
|
|
git diff
|
|
#git diff --exit-code
|
|
|
|
- uses: coverallsapp/github-action@v2
|
|
with:
|
|
file: coverage.out
|
|
|