Skip to content

Commit

Permalink
migrate away from deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Mar 2, 2024
1 parent 51ec641 commit 7eed169
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 7eed169

Please sign in to comment.