diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-13 12:43:59 +0200 |
---|---|---|
committer | Nicolas Peugnet <n.peugnet@free.fr> | 2021-09-13 13:27:57 +0200 |
commit | 90979b9fdf370044c2b0de6c7f3b9fff4222e907 (patch) | |
tree | 63a705197c5d8476795d93df0f54b33fd45c2453 /.github/workflows/build.yml | |
parent | 56c88382cc8eed0814554c85fe7bf3415a155585 (diff) | |
download | dna-backup-90979b9fdf370044c2b0de6c7f3b9fff4222e907.tar.gz dna-backup-90979b9fdf370044c2b0de6c7f3b9fff4222e907.zip |
fix github workflow file indentation
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1466e88..0280636 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,32 +24,32 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: ${{ matrix.go-version }} + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go-version }} - - name: Set up cache - uses: actions/cache@v2 - with: - # In order: - # * Module download cache - # * Build cache (Linux) - # * Build cache (Mac) - # * Build cache (Windows) - path: | - ~/go/pkg/mod - ~/.cache/go-build - ~/Library/Caches/go-build - %LocalAppData%\go-build - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- + - name: Set up cache + uses: actions/cache@v2 + with: + # In order: + # * Module download cache + # * Build cache (Linux) + # * Build cache (Mac) + # * Build cache (Windows) + path: | + ~/go/pkg/mod + ~/.cache/go-build + ~/Library/Caches/go-build + %LocalAppData%\go-build + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- - - name: Build - run: go build -v ./... + - name: Build + run: go build -v ./... - - name: Test - run: go test -v ./... + - name: Test + run: go test -v ./... |