Gōngrén men yòng bàgōng lái kàngyì bù gōngpíng de dàiyù.
The workers used a strike to protest the unfair treatment.
Tips
usage
Other 罢X compounds: 罢课 (student strike/boycott of classes), 罢市 (merchants' strike). The pattern 罢 + activity = refusing to do that activity as a form of protest.