Fixes the following linter issue: https://woodpecker-ci.org/docs/usage/linter#event-filter-for-all-steps
Added static analysis (lint, type checking) to be done on each push, and testing to be done on each master branch commit.