Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Install go in devcontainers #77

Install go in devcontainers

Install go in devcontainers #77

Workflow file for this run

name: Run tests and upload coverage
on:
push:
branches:
- main
- master
pull_request:
permissions:
contents: read
jobs:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Go
uses: actions/setup-go@v5
- name: Install dependencies
run: go mod download
- name: Run tests
run: go test ./... -coverprofile=coverage.txt
- name: Upload results to Codacy
#uses: codacy/codacy-coverage-reporter-action@v1.3.0
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.txt
force-coverage-parser: go