aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2023-05-25 15:49:25 -0400
committerGitHub <noreply@github.com>2023-05-25 15:49:25 -0400
commit76c518d040907aad8b7803ad00b75d9b64863b94 (patch)
treed71673920beca1781321793e38fec2d2bb6ff823 /.github
parent92cf50fb46e67f78a5c21b3c9ceea9bf525f9d65 (diff)
downloadxesite-76c518d040907aad8b7803ad00b75d9b64863b94.tar.xz
xesite-76c518d040907aad8b7803ad00b75d9b64863b94.zip
Create main.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..6e91a96
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,15 @@
+on:
+ pull_request:
+ push:
+ branches: [main]
+
+jobs:
+ lints:
+ name: Build
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@v3
+ - name: Install Nix
+ uses: DeterminateSystems/nix-installer-action@checker
+ - name: Run `nix build`
+ run: nix develop --command "cargo build"