php-cs-fixer-ga icon indicating copy to clipboard operation
php-cs-fixer-ga copied to clipboard

Versioning

Open Nyholm opened this issue 4 years ago • 0 comments

I want to share something I just learnt.

Looking at Github actions docs and the actions/checkout action, we can see that one should move tags.

Ie, create tags as we (PHP community) usually do. But also move the v2 tag with the latest release.

The benefit is that I (as a consumer of the action) can use OskarStark/php-cs-fixer-ga@v2 the same way as we use composers: ^2.0 syntax.

Im not sure that this is something we would like do to or if it is necessary. Since the updates here are just following releases of php-cs-fixer. I think it is easier for if one just did:

      - name: PHP-CS-Fixer
        uses: OskarStark/php-cs-fixer-ga@master
        with:
          args: --dry-run --diff-format udiff

Nyholm avatar Apr 16 '20 09:04 Nyholm