diff --git a/.github/workflows/coverge.yml b/.github/workflows/coverge.yml index 58d367be..0a2646a5 100644 --- a/.github/workflows/coverge.yml +++ b/.github/workflows/coverge.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version: '1.20.1' - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha }} - name: Report results to DeepSource diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 32ad7fd7..ec179c1d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,11 +14,11 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - go: [1.20] + go: ['1.20.1'] os: [ubuntu-latest, macos-latest, windows-latest] steps: - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} - name: Set git to use LF @@ -26,11 +26,11 @@ jobs: # as gofmt linter will report that they need to be changed run: git config --global core.autocrlf false - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 1 - name: Cache Go modules - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 10275573..695c3278 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,11 +16,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version: '1.20.1' - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Fetch all tags @@ -43,11 +43,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version: '1.20.1' - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Fetch all tags @@ -83,11 +83,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version: '1.20.1' - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Fetch all tags diff --git a/Makefile b/Makefile index 16faa40d..4efc3efa 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ release: -v `pwd`:/go/src/github.com/fairDataSociety/fairOS-dfs \ -v /var/run/docker.sock:/var/run/docker.sock \ -w /go/src/github.com/fairDataSociety/fairOS-dfs \ - ghcr.io/goreleaser/goreleaser-cross:v1.19.5 release --rm-dist + ghcr.io/goreleaser/goreleaser-cross:v1.20.2 release --rm-dist .PHONY: release-dry-run release-dry-run: @@ -84,7 +84,7 @@ release-dry-run: -v `pwd`:/go/src/github.com/fairDataSociety/fairOS-dfs \ -v /var/run/docker.sock:/var/run/docker.sock \ -w /go/src/github.com/fairDataSociety/fairOS-dfs \ - ghcr.io/goreleaser/goreleaser-cross:v1.19.5 release --rm-dist \ + ghcr.io/goreleaser/goreleaser-cross:v1.20.2 release --rm-dist \ --skip-validate=true \ --skip-publish