Remove data folder #2
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: build | |
on: | |
push: | |
paths-ignore: | |
- 'README.org' | |
- '.guix-authorizations' | |
- '.guix-channel' | |
pull_request: | |
schedule: | |
# weekly builds, making sure everything still works with guix-proper | |
- cron: '39 3 * * 0' | |
jobs: | |
build: | |
name: Build package | |
runs-on: ubuntu-latest | |
strategy: | |
# building independent packages, don’t abort entire build if one fails | |
fail-fast: false | |
matrix: | |
package: | |
- rust-bin | |
steps: | |
- name: Guix cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/guix | |
# use a key that (almost) never matches | |
key: guix-cache-${{ github.sha }} | |
restore-keys: | | |
guix-cache- | |
- name: Install Guix | |
uses: PromyLOPh/guix-install-action@v1 | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Lint package | |
run: | | |
guix lint -L . ${{ matrix.package }} |& sed -nre 's#(.*):([0-9]+):([0-9]+): (.*)$#::warning file=\1,line=\2,col=\3::\4#gp' | |
- name: Build package | |
run: guix build -L . ${{ matrix.package }} |