name: isspam build
run-name: isspam build and memory check
on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - run: apt update
      - run: apt install build-essential valgrind make curl -y
      - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain nightly -y
      - name: Check out repository code
        uses: actions/checkout@v4
      - name: List files in the repository
        run: |
          ls ${{ gitea.workspace }}
      - run: source $HOME/.cargo/env && make