From 7eed169a920751ca26d4dc07d3a7d90c58b8b2fe Mon Sep 17 00:00:00 2001 From: Dima Krasner Date: Sat, 2 Mar 2024 12:21:47 +0200 Subject: [PATCH] migrate away from deprecated actions --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de1c5499..f7ecc174 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,8 @@ jobs: static: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: '>=1.22.0' - run: | @@ -22,7 +22,7 @@ jobs: go test ./... -failfast -vet off -tags netgo,sqlite_omit_load_extension,fts5 - run: go build ./cmd/tootik - run: go build -tags netgo,sqlite_omit_load_extension,fts5 -ldflags "-w -s -linkmode external -extldflags -static -X github.com/dimkr/tootik/buildinfo.Version=${{ inputs.version }}" ./cmd/tootik - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: tootik-${{ inputs.version }} path: tootik