1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-14 11:47:33 +00:00

Move checkout up since the cache needs lockfiles

This commit is contained in:
nimbleghost 2023-05-23 21:03:58 +02:00
parent ceedca4e27
commit 3f8784c8a8
3 changed files with 9 additions and 9 deletions

View file

@ -4,6 +4,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout code
uses: actions/checkout@v3
-
name: Install Go
uses: actions/setup-go@v4
@ -16,9 +19,6 @@ jobs:
node-version: '18'
cache: 'npm'
cache-dependency-path: './web/package-lock.json'
-
name: Checkout code
uses: actions/checkout@v3
-
name: Install dependencies
run: make build-deps-ubuntu

View file

@ -7,6 +7,9 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
-
name: Checkout code
uses: actions/checkout@v3
-
name: Install Go
uses: actions/setup-go@v4
@ -19,9 +22,6 @@ jobs:
node-version: '18'
cache: 'npm'
cache-dependency-path: './web/package-lock.json'
-
name: Checkout code
uses: actions/checkout@v3
-
name: Docker login
uses: docker/login-action@v2

View file

@ -4,6 +4,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
-
name: Checkout code
uses: actions/checkout@v3
-
name: Install Go
uses: actions/setup-go@v4
@ -16,9 +19,6 @@ jobs:
node-version: '18'
cache: 'npm'
cache-dependency-path: './web/package-lock.json'
-
name: Checkout code
uses: actions/checkout@v3
-
name: Install dependencies
run: make build-deps-ubuntu