fork of go-gitdiff with jj support

Remove deprecated actions commands (#22)

authored by Billy Keyes and committed by GitHub b6666095 8cd57be4

Changed files
+8 -17
.github
workflows
+8 -17
.github/workflows/go.yml
··· 9 name: Verify 10 runs-on: ubuntu-latest 11 steps: 12 - - name: Set up Go 1.13 13 - uses: actions/setup-go@v1 14 with: 15 - go-version: 1.13 16 - id: go 17 - 18 - - name: Set up environment 19 - run: | 20 - # https://github.com/actions/setup-go/issues/14 21 - echo "::set-env name=GOPATH::$(go env GOPATH)" 22 - echo "::add-path::$(go env GOPATH)/bin" 23 - 24 - - name: Install golangci-lint 25 - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.1 26 - 27 - name: Check out code into the Go module directory 28 - uses: actions/checkout@v1 29 30 - name: Lint 31 - run: golangci-lint run 32 33 - name: Test 34 run: go test -v ./... 35 -
··· 9 name: Verify 10 runs-on: ubuntu-latest 11 steps: 12 + - name: Set up Go 1.16 13 + uses: actions/setup-go@v2 14 with: 15 + go-version: 1.16 16 + 17 - name: Check out code into the Go module directory 18 + uses: actions/checkout@v2 19 20 - name: Lint 21 + uses: golangci/golangci-lint-action@v2 22 + with: 23 + version: v1.28 24 25 - name: Test 26 run: go test -v ./...