Help needed: Setting up STM32G030C8T6

You should be able to use this definition here to create a new STM32Cube/HAL project for it (see example).

If yo have an existing STM32Cube project, you may be able to use https://github.com/ussserrr/stm32pio/ to convert it to the folder structure that PlatformIO expects.