Merge pull request #2 from Trivernis/actions

Actions
pull/3/head
Trivernis 4 years ago committed by GitHub
commit e685fea4f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,8 +1,7 @@
name: Docker
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
multi:
@ -29,7 +28,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
push: true
tags: |
trivernis/snekcloud-server:latest

@ -22,10 +22,11 @@ jobs:
path: |
target/**/build
target/**/deps
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
target/**/incremental
key: ${{ runner.os }}-build-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ hashFiles('Cargo.lock') }}
${{ runner.os }}-build-
${{ runner.os }}-
- name: Build
run: cargo build --verbose
- name: Run tests

Loading…
Cancel
Save