mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
Bumps the github-actions group with 2 updates in the / directory: [sourcemeta/jsonschema](https://github.com/sourcemeta/jsonschema) and [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action). Updates `sourcemeta/jsonschema` from 8.0.0 to 9.2.4 - [Release notes](https://github.com/sourcemeta/jsonschema/releases) - [Commits](https://github.com/sourcemeta/jsonschema/compare/v8.0.0...v9.2.4) Updates `golangci/golangci-lint-action` from 7 to 8 - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v7...v8) --- updated-dependencies: - dependency-name: sourcemeta/jsonschema dependency-version: 9.2.4 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: golangci/golangci-lint-action dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major 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.1
|
|
|
|
#- 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
|
|
|