Skip to content

chore(deps): update golang docker tag to v1.23.4 (#224) #494

chore(deps): update golang docker tag to v1.23.4 (#224)

chore(deps): update golang docker tag to v1.23.4 (#224) #494

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
paths-ignore:
- 'README.md'
- 'docs/**'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: 'go.mod'
cache: true
- run: go mod download
- name: Run linters
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: latest
args: --timeout=5m
test:
name: Acceptance Tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: 'go.mod'
cache: true
- run: go mod download
- run: go test -p 1 -v -coverprofile=coverage.out -covermode=atomic ./... -timeout 5m
timeout-minutes: 5
env:
WEBHOOK_SECRET: test_Secret1
GIT_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
with:
token: ${{ secrets.CODECOV_TOKEN }}