File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ jobs:
2626 python-version : ' 3.8'
2727
2828 - name : Install pre-commit framework
29- run : curl https://pre-commit.com/install-local.py | python -
29+ run : python -m pip install pre-commit
3030
3131 - name : Install dotnet-format
3232 run : dotnet tool install -g dotnet-format
3333
3434 - name : Run pre-commit
35- run : ~/bin/ pre-commit run --show-diff-on-failure --color=always --all-files
35+ run : pre-commit run --show-diff-on-failure --color=always --all-files
3636
3737 build-and-test :
3838 name : Build and test ${{ matrix.os }}
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ public static int DoBuild(Config config)
196196
197197 plan . AddPlan ( "icon.png" , new EntryData . FromFile ( iconPath ) ) ;
198198 plan . AddPlan ( "README.md" , new EntryData . FromFile ( readmePath ) ) ;
199- plan . AddPlan ( "manifest.json" , new EntryData . FromMemory ( Encoding . UTF8 . GetBytes ( SerializeManifest ( config ) ) , ( UnixFileMode ) 0b110_110_100 ) ) ; // rw-rw-r--
199+ plan . AddPlan ( "manifest.json" , new EntryData . FromMemory ( Encoding . UTF8 . GetBytes ( SerializeManifest ( config ) ) , ( UnixFileMode ) 0b110_110_100 ) ) ; // rw-rw-r--
200200
201201 if ( config . BuildConfig . CopyPaths is not null )
202202 {
@@ -230,7 +230,7 @@ public static int DoBuild(Config config)
230230 if ( ! OperatingSystem . IsWindows ( ) )
231231 {
232232 // windows-created archives do not use these bits as unix file mode, so we should not set them there
233- archiveEntry . ExternalAttributes |= ( int ) entry . Value . GetUnixFileMode ( ) << 16 ;
233+ archiveEntry . ExternalAttributes |= ( int ) entry . Value . GetUnixFileMode ( ) << 16 ;
234234 }
235235
236236 using var entryStream = archiveEntry . Open ( ) ;
You can’t perform that action at this time.
0 commit comments