mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-03-03 15:01:28 +01:00
Bumps the dev-dependencies group with 2 updates in the / directory: [actions/setup-go](https://github.com/actions/setup-go) and [renovatebot/github-action](https://github.com/renovatebot/github-action). Updates `actions/setup-go` from 5.1.0 to 6.2.0 - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v5.1.0...v6.2.0) Updates `renovatebot/github-action` from 44.2.3 to 44.2.4 - [Release notes](https://github.com/renovatebot/github-action/releases) - [Changelog](https://github.com/renovatebot/github-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/renovatebot/github-action/compare/v44.2.3...v44.2.4) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dev-dependencies - dependency-name: renovatebot/github-action dependency-version: 44.2.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
66 lines
1.4 KiB
YAML
66 lines
1.4 KiB
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
jobs:
|
|
|
|
test:
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
checks: write # to create a new check based on the results (shogo82148/actions-goveralls)
|
|
|
|
name: Test
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
# tests for target OS
|
|
os: [ubuntu-latest, macos-latest]
|
|
steps:
|
|
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
|
|
- name: Set up Go 1.x
|
|
uses: actions/setup-go@v6.2.0
|
|
with:
|
|
go-version-file: go.mod
|
|
check-latest: true
|
|
id: go
|
|
|
|
- name: Install Dependencies
|
|
run: |
|
|
go get -v -t -d ./...
|
|
|
|
- name: Test
|
|
env:
|
|
GOMAXPROCS: 4
|
|
GOMEMLIMIT: 8192MiB
|
|
run: make go-test
|
|
|
|
- name: Send coverage
|
|
uses: coverallsapp/github-action@v2
|
|
with:
|
|
file: profile.cov
|
|
format: golang
|
|
flag-name: run-${{ join(matrix.*, '-') }}
|
|
parallel: true
|
|
continue-on-error: true
|
|
|
|
finish:
|
|
needs: test
|
|
if: ${{ always() }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Coveralls Finished
|
|
uses: coverallsapp/github-action@v2
|
|
with:
|
|
parallel-finished: true
|
|
carryforward: "run-ubuntu-latest,run-macos-latest"
|