Skip to content

Merge pull request #7 from A-5ingh/main #3

Merge pull request #7 from A-5ingh/main

Merge pull request #7 from A-5ingh/main #3

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Tests
permissions: {}
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: ext/go.mod
cache-dependency-path: ext/go.sum
- name: Run tests
run: |
set -e
cd ext && make tests
- name: Upload coverage
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: ext-coverage.out
path: ext/coverage.out
retention-days: 1
if-no-files-found: error