From 1df796091f4c004c0e5ab32193d3fe06642a4b8f Mon Sep 17 00:00:00 2001 From: Nick Novitski Date: Mon, 21 Oct 2024 09:27:11 -0700 Subject: [PATCH] Basic github config --- .github/dependabot.yml | 6 ++++++ .github/workflows/new-release.yml | 13 +++++++++++++ .github/workflows/test.yml | 9 +++++++++ 3 files changed, 28 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/new-release.yml create mode 100644 .github/workflows/test.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1230149 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/new-release.yml b/.github/workflows/new-release.yml new file mode 100644 index 0000000..cef7065 --- /dev/null +++ b/.github/workflows/new-release.yml @@ -0,0 +1,13 @@ +name: Release new version +on: + release: + types: [released] +permissions: + contents: write +jobs: + update-major-tag: + runs-on: ubuntu-latest + steps: + - uses: actions/publish-action@v0.3.0 + with: + source-tag: ${{ github.event.release.tag_name }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..4cc39dc --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,9 @@ +on: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@V27 + - run: ./test