Delete hotp secret before setting it. #11
Workflow file for this run
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: C/C++ CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
test: | |
name: fedora | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Podman | |
run: | | |
sudo apt update | |
sudo apt-get -y install podman | |
podman pull fedora:38 | |
- name: Get source | |
uses: actions/checkout@v3 | |
with: | |
path: 'workdir' | |
- name: Create container and run tests | |
run: | | |
{ | |
echo 'FROM fedora:38' | |
echo 'RUN dnf -y update' | |
echo 'RUN dnf -y install make gcc gcc-c++ git libusb1-devel cmake hidapi-devel meson libasan' | |
echo 'COPY workdir workdir' | |
echo 'WORKDIR /workdir' | |
echo 'RUN make CI' | |
} > podmanfile | |
podman build --tag fedora38 -f ./podmanfile |