diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index d996808a..569c5421 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -1,6 +1,6 @@ --- name: "Build & Test" -on: # yamllint disable-line rule:truthy +on: # yamllint disable-line rule:truthy push: branches: - "!dependabot/*" @@ -16,7 +16,7 @@ jobs: - uses: "actions/checkout@v3" - uses: "actions/setup-go@v3" with: - go-version: "~1.18" + go-version: "~1.19.1" - uses: "authzed/actions/go-build@main" image-build: @@ -33,6 +33,6 @@ jobs: - uses: "actions/checkout@v3" - uses: "actions/setup-go@v3" with: - go-version: "~1.18" + go-version: "~1.19.1" - uses: "authzed/action-spicedb@v1" - uses: "authzed/actions/go-test@main" diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 5bf51869..5a3772d0 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,6 +1,6 @@ --- name: "Lint" -on: # yamllint disable-line rule:truthy +on: # yamllint disable-line rule:truthy push: branches: - "!dependabot/*" @@ -15,7 +15,7 @@ jobs: - uses: "actions/checkout@v3" - uses: "actions/setup-go@v3" with: - go-version: "~1.18" + go-version: "~1.19.1" - uses: "authzed/actions/gofumpt@main" - uses: "authzed/actions/go-mod-tidy@main" - uses: "authzed/actions/go-generate@main" @@ -60,4 +60,4 @@ jobs: - name: "Upload Trivy scan results to GitHub Security tab" uses: "github/codeql-action/upload-sarif@v2" with: - sarif_file: 'trivy-results.sarif' + sarif_file: "trivy-results.sarif" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ad3ddc46..d1c1ce22 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,7 +3,7 @@ name: "release" on: push: tags: - - 'v[0-9]+.[0-9]+.[0-9]+' + - "v[0-9]+.[0-9]+.[0-9]+" jobs: github: runs-on: "macos-latest" @@ -43,7 +43,7 @@ jobs: run: "sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu gcc-mingw-w64-x86-64" - uses: "actions/setup-go@v3" with: - go-version: "~1.18" + go-version: "~1.19.1" - uses: "goreleaser/goreleaser-action@v2" with: distribution: "goreleaser" diff --git a/Dockerfile b/Dockerfile index f0f6ce47..96d87fc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18-alpine3.15 AS build +FROM golang:1.19.1-alpine3.15 AS build RUN apk update RUN apk add git