Skip to content

updating action

updating action #2

Workflow file for this run

name: Build and Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install SDL2
run: sudo apt update && sudo apt install -y libsdl2-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose