Skip to content

Commit

Permalink
ci: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmattheis committed May 1, 2024
1 parent 8101b64 commit 3f6cfd4
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,16 @@ jobs:
gotify:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/cache@v2
with:
path: |
ui/node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-node_modules-
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: (cd ui && yarn)
- run: make build-js
- uses: golangci/golangci-lint-action@v3
- uses: golangci/golangci-lint-action@v5
with:
version: v1.55
args: --timeout=5m
Expand All @@ -35,7 +23,9 @@ jobs:
- run: make download-tools
- run: make test
- run: make check-ci
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- if: startsWith(github.ref, 'refs/tags/v')
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
- if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit 3f6cfd4

Please sign in to comment.