build(deps): bump DavidAnson/markdownlint-cli2-action in the all group #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test & Coverage | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
go-test-coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout-action | |
uses: actions/checkout@v4.2.2 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
- name: Run tests | |
run: go test -coverprofile=coverage.txt | |
- name: Upload results to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Code Climate Coverage Action | |
uses: paambaati/codeclimate-action@v9 | |
env: | |
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} | |
with: | |
coverageLocations: coverage.txt:gocov | |
prefix: github.com/ccoveille/go-safecast | |
- name: Launch golangci-lint | |
uses: golangci/golangci-lint-action@v6.1.1 | |
- name: Run tests on i386 | |
run: GOARCH=386 go test |