Bump actions/checkout from 3 to 4 #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test building debian package | |
on: pull_request | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
jobs: | |
debian-package: | |
name: "Build debian package" | |
runs-on: ubuntu-latest | |
container: | |
image: "debian:latest" | |
steps: | |
- name: Install dependencies | |
run: | | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install devscripts dpkg-dev debhelper equivs | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Bump version | |
run: | | |
export DEBEMAIL='[email protected]' | |
export DEBFULLNAME='Faucet Maintainers' | |
debchange -b "Test release" | |
- name: Build package | |
run: | | |
mk-build-deps -i -r -t 'apt-get -f -y --force-yes' | |
dpkg-buildpackage -b -us -uc -rfakeroot |