From 7c3ded3c46a1b65c0dac98aca16a2cae1e83ab29 Mon Sep 17 00:00:00 2001 From: Masahiro Furudate <178inaba.git@gmail.com> Date: Sat, 4 Jul 2020 18:02:30 +0900 Subject: [PATCH 1/3] Fix README Fix yaml indent. --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 0774c7ff3..0edc0dea7 100644 --- a/README.md +++ b/README.md @@ -24,22 +24,22 @@ It will first check the local cache for a version match. If version is not found Matching by semver spec: ```yaml steps: -- uses: actions/checkout@v2 -- uses: actions/setup-go@v2 - with: - go-version: '^1.13.1' # The Go version to download (if necessary) and use. -- run: go version + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: '^1.13.1' # The Go version to download (if necessary) and use. + - run: go version ``` Matching an unstable pre-release: ```yaml steps: -- uses: actions/checkout@v2 -- uses: actions/setup-go@v2 - with: - stable: 'false' - go-version: '1.14.0-rc1' # The Go version to download (if necessary) and use. -- run: go version + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + stable: 'false' + go-version: '1.14.0-rc1' # The Go version to download (if necessary) and use. + - run: go version ``` # Usage @@ -49,11 +49,11 @@ See [action.yml](action.yml) Basic: ```yaml steps: -- uses: actions/checkout@master -- uses: actions/setup-go@v2 - with: - go-version: '1.9.3' # The Go version to download (if necessary) and use. -- run: go run hello.go + - uses: actions/checkout@master + - uses: actions/setup-go@v2 + with: + go-version: '1.9.3' # The Go version to download (if necessary) and use. + - run: go run hello.go ``` Matrix Testing: From a410febbf12411f4726e0cf466f424cf7325ff3a Mon Sep 17 00:00:00 2001 From: Masahiro Furudate <178inaba.git@gmail.com> Date: Sat, 4 Jul 2020 18:06:13 +0900 Subject: [PATCH 2/3] Fix workflow yaml file indent --- .github/workflows/versions.yml | 20 +++++++++++--------- .github/workflows/workflow.yml | 30 +++++++++++++++--------------- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index 6b6d5f956..33a5fc6fa 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -63,12 +63,14 @@ jobs: os: [macos-latest, windows-latest, ubuntu-latest] go: [1.7, 1.8.6] steps: - - name: Checkout - uses: actions/checkout@v2 - - name: setup-go ${{ matrix.go }} - uses: ./ - with: - go-version: ${{ matrix.go }} - - name: verify go - run: __tests__/verify-go.sh ${{ matrix.go }} - shell: bash + - name: Checkout + uses: actions/checkout@v2 + + - name: setup-go ${{ matrix.go }} + uses: ./ + with: + go-version: ${{ matrix.go }} + + - name: verify go + run: __tests__/verify-go.sh ${{ matrix.go }} + shell: bash diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 274f7e943..1126e0c1f 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -16,23 +16,23 @@ jobs: matrix: operating-system: [ubuntu-latest, windows-latest] steps: - - name: Checkout - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - - name: Setup node 12 - uses: actions/setup-node@v1 - with: - node-version: 12 + - name: Setup node 12 + uses: actions/setup-node@v1 + with: + node-version: 12 - - name: npm install - run: npm install + - name: npm install + run: npm install - - name: Lint - run: npm run format-check + - name: Lint + run: npm run format-check - - name: npm test - run: npm test + - name: npm test + run: npm test - - name: audit packages - run: npm audit --audit-level=high - if: matrix.operating-system == 'ubuntu-latest' \ No newline at end of file + - name: audit packages + run: npm audit --audit-level=high + if: matrix.operating-system == 'ubuntu-latest' From b144e0e7e0762cdcac5cfd8e6f093fe53a1a5a99 Mon Sep 17 00:00:00 2001 From: Masahiro Furudate <178inaba.git@gmail.com> Date: Thu, 21 Oct 2021 00:26:45 +0900 Subject: [PATCH 3/3] Fix workflow yaml file indent --- .github/workflows/release-new-action-version.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-new-action-version.yml b/.github/workflows/release-new-action-version.yml index 955ced7e6..797c81a34 100644 --- a/.github/workflows/release-new-action-version.yml +++ b/.github/workflows/release-new-action-version.yml @@ -20,8 +20,8 @@ jobs: name: releaseNewActionVersion runs-on: ubuntu-latest steps: - - name: Update the ${{ env.TAG_NAME }} tag - uses: actions/publish-action@v0.1.0 - with: - source-tag: ${{ env.TAG_NAME }} - slack-webhook: ${{ secrets.SLACK_WEBHOOK }} \ No newline at end of file + - name: Update the ${{ env.TAG_NAME }} tag + uses: actions/publish-action@v0.1.0 + with: + source-tag: ${{ env.TAG_NAME }} + slack-webhook: ${{ secrets.SLACK_WEBHOOK }}