Skip to content

Commit 9939fe5

Browse files
committed
update: prepare for next version: 0.2.0-rc.2
2 parents b35e975 + 44d8971 commit 9939fe5

79 files changed

Lines changed: 8487 additions & 7498 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "cargo"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"

.github/workflows/ci.yml

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: CI
22
on:
33
push:
4+
branches-ignore:
5+
- 'dependabot/**'
46
paths-ignore:
57
- '.vscode/**'
68
- '.gitignore'
@@ -20,7 +22,7 @@ jobs:
2022
runs-on: ubuntu-22.04
2123
steps:
2224
- uses: actions/checkout@v4
23-
- uses: cachix/install-nix-action@v27
25+
- uses: cachix/install-nix-action@v30
2426
- uses: cachix/cachix-action@v15
2527
with:
2628
name: brack-lang
@@ -30,10 +32,48 @@ jobs:
3032
runs-on: ubuntu-22.04
3133
steps:
3234
- uses: actions/checkout@v4
33-
- uses: cachix/install-nix-action@v27
35+
- uses: cachix/install-nix-action@v30
3436
- uses: cachix/cachix-action@v15
3537
with:
3638
name: brack-lang
3739
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
3840
- run: nix build .
41+
cargo-fmt:
42+
runs-on: ubuntu-22.04
43+
steps:
44+
- uses: actions/checkout@v4
45+
- uses: cachix/install-nix-action@v30
46+
- uses: cachix/cachix-action@v15
47+
with:
48+
name: brack-lang
49+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
50+
- run: nix build ".#cargo-fmt"
51+
clippy:
52+
runs-on: ubuntu-22.04
53+
steps:
54+
- uses: actions/checkout@v4
55+
- uses: cachix/install-nix-action@v30
56+
with:
57+
nix_path: nixpkgs=channel:nixos-24.05
58+
- uses: cachix/cachix-action@v15
59+
with:
60+
name: brack-lang
61+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
62+
- run: nix profile install "nixpkgs#rustc" "nixpkgs#cargo" "nixpkgs#clippy"
63+
- uses: actions-rs/clippy-check@v1
64+
env:
65+
CARGO_HOME: ./.cargo
66+
with:
67+
token: '${{ secrets.GITHUB_TOKEN }}'
68+
args: -- -D warnings
69+
nixfmt-rfc-style:
70+
runs-on: ubuntu-22.04
71+
steps:
72+
- uses: actions/checkout@v4
73+
- uses: cachix/install-nix-action@v30
74+
- uses: cachix/cachix-action@v15
75+
with:
76+
name: brack-lang
77+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
78+
- run: nix build ".#nixfmt-rfc-style"
3979

.github/workflows/main.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/rc.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: release
2+
on:
3+
push:
4+
tags:
5+
- "v*.*.*"
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
tag:
13+
runs-on: ubuntu-24.04
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Get current version
17+
id: version
18+
run: |
19+
echo "version=$(cat ./VERSION)" >> $GITHUB_OUTPUT
20+
- name: Create release
21+
uses: softprops/action-gh-release@v2
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
with:
25+
name: v${{ steps.version.outputs.version }}
26+
draft: false
27+
prerelease: ${{ contains(github.ref, '-rc') }}
28+
generate_release_notes: true
29+

0 commit comments

Comments
 (0)