Skip to content

Better workflow, helps address #54 and #62 #62

Better workflow, helps address #54 and #62

Better workflow, helps address #54 and #62 #62

Workflow file for this run

name: tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup
run: |
sudo add-apt-repository multiverse
sudo dpkg --add-architecture i386
sudo apt update
echo steam steam/question select "I AGREE" | sudo debconf-set-selections
echo steam steam/license note '' | sudo debconf-set-selections
sudo apt install -y lib32gcc-s1 steamcmd
env:
DEBIAN_FRONTEND: noninteractive
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose