Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indent code with 4 spaces #2307

Merged
merged 2 commits into from
Mar 25, 2021

Conversation

nirinchev
Copy link
Member

Description

Indents code with 4 instead of 2 spaces.

@nirinchev nirinchev self-assigned this Mar 23, 2021
@nirinchev nirinchev requested a review from LaPeste March 23, 2021 20:51
Copy link
Contributor

@LaPeste LaPeste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes.

Base automatically changed from ni/ga-fixes to ac/build-macos-wrappers-github-actions March 25, 2021 00:24
@nirinchev nirinchev merged commit 743e252 into ac/build-macos-wrappers-github-actions Mar 25, 2021
@nirinchev nirinchev deleted the ni/ga-fixes-indent branch March 25, 2021 00:35
nirinchev added a commit that referenced this pull request Apr 9, 2021
* First action attempt

* Wrong path to action

* Renamed action

* Sadly the action is brought back to do 1 thing only

* Some mispelling

* Created JS action to build wrapper

* Renamed folder in main.yml

* Reshuffled things

* Hopefully nodejs 14 and not 12

* Few fixes

* Removed nodejs 14 stuff

* All compacted into index.js

* First iteration of build_wrappers action

* Added some info text

* Forgot to update action path

* Moved from core.debug to core.info

* Updated string to use template literals

* Correct error to return success

* Forgot to build

* I like it more with the dash

* Forgot to build again

* Fixed some checks on string content

* Build forgotten

* Live output for built cmd + removed exit code when error

* Reverted to cp.exec

* Better output folding

* Check for error at caching

* Some fixes + lots of prints

* Changed from exec to spawn

* Try to fix spawn and env var

* Small improvements

* Async method should now be fixed

* Final test to check correctness

* Small code style changes

* First attempt at making caching and building general

* Forgotten meta build action

* Fixed some mispelling in commands in main

* Refactored lots of stuff

* Json in 1 line in main.yml workflow

* Added test framework, added tests for input parsing, split utils in multiple files

* Added a TODO and better logging in spawned child

* Removed hash options, it doesn't seem necessary

* Unit test added for all common functionalities

* Extracted main functionalities from action

* Updated action.yml name and description

* Folder rename

* Small cleanup main.yml

* Extrapolated core code in it's own folder

* Forgotten to change path to action in workflow

* Fix path for action

* This time path to action should be fixed

* Minor fixes

* Temporary test with external repo for core code

* Just a test with types in lib

* Small error correction

* Test with checkout action

* Attempt moving checkout js in same dist of build_executor

* Test with double checkout

* Postponment of checkout action inclued

* Fixed some wrong build command

* Added package folder (lib) and changed input parsing for paths

* Updated path to packages in main

* Added optional hash prefix

* HashKey used as index by the cache function is now returned as output

* Cmds in input aren't anymore a json array of json objects

* Reshaped tasks.json, added scripts in package.json and updated structure in packages

* Eslinter and prettifier setup and run

* Removed result struct and reintroduced exceptions

* As far as I can go with the linter

* Made utils internal, linted and prettified action

* Final adjustments for PR review

* Added one more test to check prefix on hash

* Fixed wrongly passed hash prefix

* Returned wrong value from main

* Some rephrasing

* Improved comments

* Added settings for debugging source code and tests

* Reshaped hashing function to better account json structure + improved test speed on hashing test

* Rephrased a log

* Final minor corrections before PR review

* Forgotten to build and lint/prettify

* Better fail message

* Improved input_parsing and expanded tests

* More unit testing, more safety checks and few other minor changes

* Fixes for the GA package (#2306)

* Add typescript to dependencies
* Add some basic eslint rules (will extend later)
* Add typings to package.json
* Add __tests__ to tsc includes
* Disable the unused var warnings for tests

* Indent code with 4 spaces (#2307)

* Indent code with 4 spaces

* Increase print-width

* Simplified according to PR review

* Fixed input in action

* Compacted code in only 1 file

* Added options to debug typescript files directly

* Forgot to remove a comment

* Migrate GA to a pure workflow (#2322)

* wip

* Supply input and output paths to the action

* Add ncc

* Fix the action metadata

* Tweak the build wrappers command

* Try to simplify configuration passing to bash builds

* Bump down ubuntu version for android

* Try and use ytt for templates

* Remove the `null` from PR

* Try #3

* Try #4

* Try 5

* Try 6

* Try to use pure workflow

* Remove extra brace

* Yet another brace

* cacheKey -> key

* Add the cache condition to any intermediate steps

* Revert files that are unrelated to the workflow change

* More tweaks to the template

* Test building iOS wrappers

* Try to build iOS #2

* Bring back the cmake configuration check in ios and android build scripts

* Try building linux on bare metal

* Use correct ubuntu image

* Try to add Android

* Put matrix under strategy

* Setup NDK env variables

* Add $

* Don't download the ndk

* Added windows to templates

* Try to cache vcpkg

* Trigger uncached build

* Trigger another uncached build

* Another build

* Another uncached run

* Revert dummy changes

* Added UWP to template

* Fixed small detail

* Added saving output

* Always output cacheKey from building wrappers

* Removed TODO comment

* Ac/retrieve multiple caches ga (#2325)

* Added fetching multiple bins

* Store binaries as artifacts

* Store binaries as artifacts - 2

* Store binaries as artifacts - 3

* Store binaries as artifacts - 4

* Store binaries as artifacts - 5

* PR ready for review

Co-authored-by: Andrea Catalini <andrea.catalini89@gmail.com>

* Remove the typescript action (#2326)

* remove some leftovers

* Remove process.sh

Co-authored-by: Nikola Irinchev <irinchev@me.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants