From d429ec23d71d7d81b4b537477eedf24445207a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Mon, 13 Apr 2020 12:37:42 +0200 Subject: [PATCH] indent :nail_care: --- .github/workflows/ci.yml | 56 +++++++++++++++++------------------ .github/workflows/release.yml | 34 ++++++++++----------- Dockerfile | 2 +- 3 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b9e9240..d48534a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,39 +8,39 @@ jobs: strategy: fail-fast: false matrix: - go: [ '1.11', '1.12', '1.13', '1.14' ] + go: ["1.11", "1.12", "1.13", "1.14"] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v1 - - name: Set up Ruby - uses: actions/setup-ruby@v1 - with: - ruby-version: 2.6.x + - name: Set up Ruby + uses: actions/setup-ruby@v1 + with: + ruby-version: 2.6.x - - name: Cache gems - uses: actions/cache@v1 - with: - path: vendor/bundle - key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gem- + - name: Cache gems + uses: actions/cache@v1 + with: + path: vendor/bundle + key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-gem- - - name: Bundle install - run: | - bundle install --path vendor/bundle - bundle binstub cucumber --path bin + - name: Bundle install + run: | + bundle install --path vendor/bundle + bundle binstub cucumber --path bin - - name: Set up Go - uses: actions/setup-go@v1 - with: - go-version: ${{ matrix.go }} + - name: Set up Go + uses: actions/setup-go@v1 + with: + go-version: ${{ matrix.go }} - # - name: Install system packages - # if: runner.os == 'Linux' - # run: sudo apt-get install -y zsh fish + # - name: Install system packages + # if: runner.os == 'Linux' + # run: sudo apt-get install -y zsh fish - - name: Run tests - run: make test-all - env: - CI: true + - name: Run tests + run: make test-all + env: + CI: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 98b5ee27..db8b7215 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ name: Release on: push: - tags: 'v*' + tags: "v*" jobs: release: @@ -9,22 +9,22 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Set up Go - uses: actions/setup-go@v1 - with: - go-version: "1.13" + - name: Set up Go + uses: actions/setup-go@v1 + with: + go-version: "1.13" - - name: Publish release script - run: script/publish-release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Publish release script + run: script/publish-release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: mislav/bump-homebrew-formula-action@v1 - if: "!contains(github.ref, '-')" # skip prereleases - with: - formula-name: hub - env: - COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: mislav/bump-homebrew-formula-action@v1 + if: "!contains(github.ref, '-')" # skip prereleases + with: + formula-name: hub + env: + COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Dockerfile b/Dockerfile index f08cbb11..b07e1950 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get purge --auto-remove -y curl \ && rm -rf /var/lib/apt/lists/* RUN groupadd -r app && useradd -r -g app -G sudo app \ - && mkdir -p /home/app && chown -R app:app /home/app + && mkdir -p /home/app && chown -R app:app /home/app RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers USER app