Skip to content

Set expiry date for the Security Policy (#275) #411

Set expiry date for the Security Policy (#275)

Set expiry date for the Security Policy (#275) #411

Workflow file for this run

name: Test
on:
pull_request: ~
push:
branches:
- main
permissions: read-all
jobs:
bare-action:
name: Bare action
runs-on: ubuntu-22.04
needs:
- unit
steps:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install tooling
uses: asdf-vm/actions/install@05e0d2ed97b598bfce82fd30daf324ae0c4570e6 # v3.0.2
- name: Run bare action
uses: ./
unit:
name: Unit (${{ matrix.runs-on }})
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-20.04
- ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install tooling
uses: asdf-vm/actions/install@05e0d2ed97b598bfce82fd30daf324ae0c4570e6 # v3.0.2
- name: Install kcov
run: sudo apt-get install kcov
- name: Run unit tests
run: make coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0
if: ${{ matrix.runs-on == 'ubuntu-22.04' }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: ./_coverage/tool-versions-update-action [specfiles]/cobertura.xml