Update actions/checkout action to v3

This commit is contained in:
renovate[bot]
2022-07-07 19:18:49 +00:00
committed by GitHub
parent 0b544bf132
commit 11baa858da

View File

@@ -6,7 +6,7 @@ jobs:
test-nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
@@ -29,7 +29,7 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Format
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
if: matrix.os == 'ubuntu-latest'