diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb04c94..7ef4197 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -139,7 +139,7 @@ jobs: - name: Install Dependencies run: | sudo apt-get install -y curl gnupg ca-certificates git gcc-multilib g++-multilib cmake libssl-dev pkg-config libfreetype6-dev libasound2-dev libexpat1-dev libxcb-composite0-dev libbz2-dev freeglut3-dev libxi-dev - + - name: Check Formatting run: | cargo fmt --all -- --check @@ -194,7 +194,7 @@ jobs: - name: Install Neovim run: | - brew install neovim + arch -arm64 brew install neovim - name: Test env: diff --git a/.github/workflows/snap.yaml b/.github/workflows/snap.yaml index dab110d..e819d99 100644 --- a/.github/workflows/snap.yaml +++ b/.github/workflows/snap.yaml @@ -1,6 +1,8 @@ name: Snap -on: [push] +on: + push: + branches: [ main ] jobs: snap: @@ -9,12 +11,12 @@ jobs: steps: - name: Check out Git repository uses: actions/checkout@v2 - + - uses: snapcore/action-build@v1 env: SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY: 6G id: snapcraft - + - uses: actions/upload-artifact@v2 with: name: snap