I think you are talking about newly mined blocks by miners which are sent to the network.
All the miners of the network need to validate a block of transactions to definitely store these transactions in the distributed ledger (aka blockchain).
Replace "All the
miners of the network" with "All the
full nodes of the network".
Each full node stores the complete blockchain. Whenever a full node receives a new block (mined by any miner and send the newly found block to the network), the full node validates this block and if it is OK, the block will be added to it's own version of it's blockchain and also broadcast the block to all the connected peers. If it is not valid, the block will be rejected, not added to the blockchain and not broadcasted to it's peers.
how is the network of miners "aware" that all the miners have validated the transaction ?
There is no need to be aware if all the other full nodes have already validated the block or not. If your full node follows the exact same rules than all the other full nodes, and the block is valid for you, it is also valid for all the other full nodes. Except two blocks are found nearly simultanious. Only the first block the full node received will be valid for him. The second block will be invalid, at least for a while (see below).
A miner itself is nothing more than a full node. Whenever the miner is searching for a new block and receives a new block from the network before he found a new block himself, he also need to validate the received block. If it is valid for him, he also add it to his local blockchain and start mining a new block on top of the just received block with the remaining transactions in the mempool.
Whenever a node receives two valid blocks with the same height, the rule of the longest chain will solve this issue.
Lets assume, miner 1 and miner 2 find booth a block at the same time and broadcast their block to the network.
In this case about half of the network will accept the block from miner 1, the other half will accept the block from miner 2. Some miners therefor will try to find a new block on top of block of miner 1 and some miners will try to find a new block on top of block of miner 2. The first one who find a new block, either on top of block of miner 1 or miner 2, will become the longest chain, which is the chain which is the valid chain.
The miners who did mine on top of the "orphaned" block will see they are on the wrong side of the chain when they receive a new block on top of the other chain. Then they stop mining on their current block and continue mining on the other longer side.