Skip to content

Commit

Permalink
Edit github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Korolev committed Nov 8, 2024
1 parent b585f4f commit ea26808
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:

- name: Generate project and run tests
run: |
export PATH=~/.rbenv/shims:"$PATH"
echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH
brew install cookiecutter rbenv mint fastlane &&
rbenv install 3.0.6 &&
brew install cookiecutter mise fastlane &&
mise settings set experimental true &&
cookiecutter --no-input -f . &&
cd Project &&
mise install &&
fastlane scan
7 changes: 1 addition & 6 deletions hooks/post_gen_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@ make project

# Download .gitignore file
curl -L 'https://www.gitignore.io/api/swift,macos,fastlane' > .gitignore
echo '.cache' >> .gitignore
{% if cookiecutter.ignore_xcproject == "Yes" %}
echo '{{ cookiecutter.name }}.xcodeproj' >> .gitignore
echo '{{ cookiecutter.name }}.xcworkspace' >> .gitignore
{% endif %}

echo 'Pods' >> .gitignore

make fmt
make gems
mise run fmt

# Stamp current version of xcode in .xcode-version file
xcodebuild -version | sed 's/Xcode //' | head -n 1 > .xcode-version
Expand Down
3 changes: 0 additions & 3 deletions {{ cookiecutter.name }}/Gemfile

This file was deleted.

0 comments on commit ea26808

Please sign in to comment.